Title: Calling map (shortcode) using a custom field instead of map&#039;s id?
Last modified: August 20, 2016

---

# Calling map (shortcode) using a custom field instead of map's id?

 *  Resolved [Adame](https://wordpress.org/support/users/adamedoe-1/)
 * (@adamedoe-1)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/calling-map-shortcode-using-a-custom-code-instead-of-maps-id/)
 * Best maps plugin ever.
 * Is it possible to set a custom field to the map and use it in the shortcode instead
   of the map’s id?
 * Thanks 🙂
 * [http://wordpress.org/extend/plugins/leaflet-maps-marker/](http://wordpress.org/extend/plugins/leaflet-maps-marker/)

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

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/calling-map-shortcode-using-a-custom-code-instead-of-maps-id/#post-3180285)
 * Custom field is currently not supported – but you can add maps directly by the
   shortcode [mapsmarker lat=”xx” lon=”xx”] without saving them to your database
   first.
    regards, Robert
 * PS: As I give support for free, I´d appreciate your review at [http://wordpress.org/support/view/plugin-reviews/leaflet-maps-marker](http://wordpress.org/support/view/plugin-reviews/leaflet-maps-marker)
   😉
 *  Thread Starter [Adame](https://wordpress.org/support/users/adamedoe-1/)
 * (@adamedoe-1)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/calling-map-shortcode-using-a-custom-code-instead-of-maps-id/#post-3180286)
 * Thanks for the reply.
 * PS.: already rated 😉
 *  [Gerard Gibbs](https://wordpress.org/support/users/gerardg/)
 * (@gerardg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/calling-map-shortcode-using-a-custom-code-instead-of-maps-id/#post-3180316)
 * I’ve only just started using this plugin. I’ve used the shortcode [mapsmarker
   mlat=”1234″ mlon=”5678″], works fine.
 * Are there any other parameters that this shortcode will take? ie, rather than
   creating a map, the shortcode could be inserted into a page template and lookup
   an address field from a form. something like
    – [mapsmarker address1=”## Street,
   Suburb, City” popup=”Description”]
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/calling-map-shortcode-using-a-custom-code-instead-of-maps-id/#post-3180317)
 * only mlat und mlon is accepted as shortcode – I will check if this can be changed,
   but as I remember correctly, there were some issues in the past…
 *  [Joff Crabtree](https://wordpress.org/support/users/joffcrabtree/)
 * (@joffcrabtree)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/calling-map-shortcode-using-a-custom-code-instead-of-maps-id/#post-3180318)
 * I’d really love to see this feature – you’re plugin looks awesome, but I need
   to be able to use a custom field as the address to create the map. Looking forward
   to seeing this feature!

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

The topic ‘Calling map (shortcode) using a custom field instead of map's id?’ is
closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Joff Crabtree](https://wordpress.org/support/users/joffcrabtree/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/calling-map-shortcode-using-a-custom-code-instead-of-maps-id/#post-3180318)
 * Status: resolved