• Resolved K15Lmk98

    (@k15lmk98)


    This is an automatic translation

    Hello,
    I can not make the shortcode work:
    [leaflet-map address = “Oslo, Norway”]

    It does not work with any address both in localhost and on web servers.

    I tried to use all three Geocoders settings: Google Maps, OpenStreetMap Nominatim and Denmark Addresses

    What should I do?

    Thanks, Claudio_

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bozdoz

    (@bozdoz)

    Perhaps open your javascript developer window in your browser to see if you have any javascript errors? Perhaps query your database for the wp_options table, look for the leaflet_geocoder_oslonorway type keys. Perhaps even just enable wordpress errors in the wp-config.php. Another thing you could do is to check the shrotcode helper page and see if those all work (some of them use the geocoder).

    I can tell you that I just copied, pasted, and tested this shortcode on localhost, and it worked perfectly well for me. It could also be a problem with one or more of your plugins, or your theme (the list seems endless).

    Thread Starter K15Lmk98

    (@k15lmk98)

    Thanks Bozdoz for the immediate answer.

    For the moment I checked the console only to see any errors, but everything is ok.

    Tomorrow I see you follow your directions and investigate better.

    If you want you can see the page web here:
    https://www.zanclus.it/leaflet-mappe

    Claudio_

    Thread Starter K15Lmk98

    (@k15lmk98)

    This is an automatic translation

    Hi Bozdoz,
    I have done some tests. I update you.

    LOCALHOST
    In localhost (example: http: //127.0.0.1/~claudio / ……..) the geocoder does not work with any WP installation

    WEB SERVER
    Clean installation WP 4.9.8 + leaflet-map 2.11.0> ERROR
    Clean installation WP 4.9.8 + leaflet-map 2.11.3> OK
    WP 4.9.8 + Genesis theme + leaflet-map 2.11.3> OK

    Test page: https://claudio.zanclus.it/test/ciao-mondo/

    From my considerations, it seems that the plugin is SENSITIVE to some third-party themes and plugins.

    Claudio_

    Thread Starter K15Lmk98

    (@k15lmk98)

    …. ops link corretto di test
    https://claudio.zanclus.it/test/ciao-mondo/

    Plugin Author bozdoz

    (@bozdoz)

    those maps look correct to me. Is it working for you now? I’m confused.

    Thread Starter K15Lmk98

    (@k15lmk98)

    It works, thanks.
    Ticket closed.

    Claudio

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Parameter address does not work’ is closed to new replies.