Title: Overview map
Last modified: April 22, 2024

---

# Overview map

 *  Resolved [chaosad2](https://wordpress.org/support/users/chaosad2/)
 * (@chaosad2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/)
 * Hi,
 * I try to use [overviewmap], but don’t really understand how it works.
 * I created two custom fields with ACF, called “latitude_depart” and “longitude_depart”.
 * Then I use this code :
 * [leaflet-map fitbounds]
   [overviewmap debug lat=latitude_depart lon=longitude_depart][
   hover class=leafext-overview-tooltip]
 * I can see the map and just “no leaflet-marker custom fields”.
 * Are ACF fields doesn’t work ?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Foverview-map%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705478)
 * You need at least one custom field – for latlng. Herein you put lat and lng in
   any form, see column [latlng-orig](https://leafext.de/extra/variants-latlngs/)
   and give the custom field a _name_. The default name is _overview-latlng_. Then
   you write
 *     ```wp-block-code
       [overviewmap debug latlng=name]
       ```
   
 * or if you use the default name _overview-latlng_:
 *     ```wp-block-code
       [overviewmap debug]
       ```
   
 * If it don’t show any errors you can omit `debug` and the marker are shown on 
   the map:
 *     ```wp-block-code
       [leaflet-map fitbounds]
       [overviewmap latlng=name]
       ```
   
 * Does this work?
 *  Thread Starter [chaosad2](https://wordpress.org/support/users/chaosad2/)
 * (@chaosad2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705560)
 * Yes, ACF fields plugin.
 * I changed some parameters in ACF, I can see “debug table”, with coordinates, 
   OK.
 * But no marker on the map. 🙁
    -  This reply was modified 2 years, 1 month ago by [chaosad2](https://wordpress.org/support/users/chaosad2/).
    -  This reply was modified 2 years, 1 month ago by [chaosad2](https://wordpress.org/support/users/chaosad2/).
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705579)
 * > Does it work with ACF fields, or just with classic custom fields ?
 * I tested it with the classic (default) custom fields only. You mean the [ACF plugin](https://wordpress.org/plugins/advanced-custom-fields/)?
   I will test it.
 *  Thread Starter [chaosad2](https://wordpress.org/support/users/chaosad2/)
 * (@chaosad2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705592)
 * Yes, ACF plugin.
 * Well, I changed some parameters in ACF and now I can see “debug table”, with 
   coordinates : OK, it seems to work with ACF plugin.
 * But there’s no marker on the map. 🙁
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705612)
 * And if you omit `debug`?
 *  Thread Starter [chaosad2](https://wordpress.org/support/users/chaosad2/)
 * (@chaosad2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705625)
 * I can’t see markers, with or without “debug”.
 * Here is my code :
 * [overviewmap debug show_thumbnails]
   [leaflet-map height=100svh fitbounds][hover
   class=leafext-overview-tooltip][zoomhomemap][locatecontrol][geosearch]
    -  This reply was modified 2 years, 1 month ago by [chaosad2](https://wordpress.org/support/users/chaosad2/).
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705636)
 *     ```wp-block-code
       [leaflet-map height=100svh fitbounds]
       [overviewmap show_thumbnails]
       [hover class=leafext-overview-tooltip]
       [zoomhomemap]
       [locatecontrol]
       [geosearch]
       ```
   
 *  Thread Starter [chaosad2](https://wordpress.org/support/users/chaosad2/)
 * (@chaosad2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705650)
 * Great !
 * Thank you for your help !
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705690)
 * I have a question about ACF: Does the custom field appear on every post / page
   or it is possible to hide it, if it is empty? It seems, there is the next bug.
   This does not work correct in my tests.
 *  Thread Starter [chaosad2](https://wordpress.org/support/users/chaosad2/)
 * (@chaosad2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17705757)
 * Well,, I don’t know, because I don’t have any empty custom fields !
 * All of my fields are automatically filled with calculated gpx datas (as lat and
   lng, coordinates of the first gpx waypoint of my track).
 * But in ACF plugin, I can’t see any option to easily hide a field if it’s empty.
 * One more question after testing overviewmap : what about negative lat or lng ?
   For these coords, marker is shown just below the map. (you can actually see it
   on the page I need help with).
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17706260)
 * > what about negative lat or lng ?
 * Bug. :-((
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17708658)
 * Fixed.
 *  Thread Starter [chaosad2](https://wordpress.org/support/users/chaosad2/)
 * (@chaosad2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17709211)
 * Thznk you!

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

The topic ‘Overview map’ is closed to new replies.

 * ![](https://ps.w.org/extensions-leaflet-map/assets/icon-256x256.png?rev=3067862)
 * [Extensions for Leaflet Map](https://wordpress.org/plugins/extensions-leaflet-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/extensions-leaflet-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/extensions-leaflet-map/)
 * [Active Topics](https://wordpress.org/support/plugin/extensions-leaflet-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/extensions-leaflet-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [chaosad2](https://wordpress.org/support/users/chaosad2/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/overview-map/#post-17709211)
 * Status: resolved