Title: Shortcode Helper for Leafleat map
Last modified: June 21, 2022

---

# Shortcode Helper for Leafleat map

 *  [boskos10](https://wordpress.org/support/users/boskos10/)
 * (@boskos10)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-helper-for-leafleat-map/)
 * I want to Add GeoJASON by url in Leafleat map.
 * Example of plug in
 * [leaflet-map fitbounds scrollwheel]
    [leaflet-geojson src=https://gist.githubusercontent.
   com/bozdoz/064a7101b95a324e8852fe9381ab9a18/raw/ee100561f5a0a8cf55430e9f2157e4a1e2560a2e/
   map.geojson]
 * I write this shortcode
    leaflet-map fitbounds scrollwheel] [leaflet-geojson src
   =https://myfile.geojason /map.geojson]
 * does not display any of the myfile.geojason file.

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

 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-helper-for-leafleat-map/#post-15756376)
 * > leaflet-map fitbounds scrollwheel]
   >  [leaflet-geojson src=https://myfile.geojason/
   > map.geojson]
 * Are there copy/paste errors or typos?
 *     ```
       [leaflet-map fitbounds scrollwheel]
       [leaflet-geojson src=https://mydomain.tld/geojason/map.geojson]
       ```
   
 * should work.
    -  This reply was modified 3 years, 11 months ago by [hupe13](https://wordpress.org/support/users/hupe13/).
 *  Thread Starter [boskos10](https://wordpress.org/support/users/boskos10/)
 * (@boskos10)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-helper-for-leafleat-map/#post-15756660)
 * i write this Shortcode
 * [leaflet-map fitbounds scrollwheel]
    [leaflet-geojson src=https://pacos.net/upload/
   India.geojson/map.geojson]
 * but dont display india.geojson
 *  Plugin Contributor [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-helper-for-leafleat-map/#post-15756702)
 * > [https://pacos.net/upload/India.geojson/map.geojson](https://pacos.net/upload/India.geojson/map.geojson)
 * Is this URL valid?
    First: The certificate of pacos.net doesn’t match the domain
   name. Second: If I ignore the warning about this, the file doesn’t exist.
 * It must be
 *     ```
       [leaflet-map fitbounds scrollwheel]
       [leaflet-geojson src=https://pacos.net/upload/India.geojson]
       ```
   
 * But you need a valid certificate.
 *  Thread Starter [boskos10](https://wordpress.org/support/users/boskos10/)
 * (@boskos10)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-helper-for-leafleat-map/#post-15756868)
 * OK thank you .

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

The topic ‘Shortcode Helper for Leafleat map’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [boskos10](https://wordpress.org/support/users/boskos10/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-helper-for-leafleat-map/#post-15756868)
 * Status: not resolved