• The address parameter in my leaflet-marker shortcodes are coming from user inputs, some of those users input wrong addresses, so it shows a couple markers in the center of the worldmap.
    Any way to check if the address exists and only show markers that have existing addresses?

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

    (@bozdoz)

    I think it depends on the geocoder being used. Hypothetically, yes; we could omit addresses that aren’t found. Do you think that’s a better user experience?

    Thread Starter mjnswp

    (@mjnswp)

    well I’m centering the map around all markers with fitbounds, but the center is ofcourse way off when theres markers in the middle of the worldmap. not sure its a better user experience, just some specific need for my current project

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘leaflet-marker shortcode, check if address exists’ is closed to new replies.