• I created form where user can put their physical address.

    Now I am looking for the easy way to show it on web site.

    Exist some free and easy method to integrate it ?

    Something like www.*****.com/?street=&number=&city=&zip=?

    Where I put only values and it show me on map where is it

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes. A simple option is to use the Google Maps search URL:

    https://www.google.com/maps/search/?api=1&query=

    Then append the URL-encoded address, for example:

    https://www.google.com/maps/search/?api=1&query=123+Main+Street,+New+York,+NY+10001

    Alternatively, you can use OpenStreetMap:

    https://www.openstreetmap.org/search?query=

    Both options are free for basic use and don’t require embedding a map or using an API key if you only want to open the location on a map.

    Moderator threadi

    (@threadi)

    You can use the options mentioned above on any website at any time, since they are provided by Google. WordPress itself does not include any such features.

    Alternatively, you can try using one of the map plugins available in the WordPress repository to integrate maps: https://wordpress.org/plugins/tags/maps/ – for instructions on how to do this, please check their support forum or review their documentation.

    Thread Starter wildapache

    (@wildapache)

    @mdridipu I want to integrate it on my web site like iframe with a default marker pointing on user address. Not just open it on Google/Openstreetmap. So I need to put user data in query and show it on my web site.

    You can use Leaflet Map and create with your form a shortcode like:

    [leaflet-map zoom=12 address="city,street number"]
    [leaflet-marker]point[/leaflet-marker]

    But Leaflet Map does not work on iframes.

    Thread Starter wildapache

    (@wildapache)

    @hupe13

    I can’t use any external plugin in proj.

    But I will download it to look how it work

    I need just to show map at user with pointed marker on user address, that all, nothing more.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.