WordPress.org

Ready to get started?Download WordPress

Forums

Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)
[resolved] move existing leaflet maps marker to new site (11 posts)

  1. jdesigngroup
    Member
    Posted 1 year ago #

    I have leaflet maps marker plugin installed on a site and have created several plotted maps. I'd like to use these exact maps on another site. so is there a way to export/download then import/upload to make this happen?

    http://wordpress.org/extend/plugins/leaflet-maps-marker/

  2. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    import/export of current markers is only possible directly in the database (via phpmyadmin for example). Login into phpmyadmin and export the following tables:
    - wp_leafletmapsmarkers_markers
    - wp_leafletmapsmarkers_layers
    Then login into phpmyadmin on the new site and reimport those two tables. A tutorial for this is still on my 2do-list, unfortunately I didnt have the time yet.
    regards,
    Robert

    PS: As I give support for free, I´d appreciate a review on http://wordpress.org/support/view/plugin-reviews/leaflet-maps-marker ;-)

  3. WJJ
    Member
    Posted 1 year ago #

    Hi!
    But what I can do to show the same maps on all my site in multisite WP installation, or for example [mapsmarker layer="1"] (one layer map) on 1st site and [mapsmarker layer="4"] (all layer map) on 2nd site.
    1st site is on domain '1' 2nd site is on domain '2', both domains are served by one multisite WP.
    Now I can show they properly on 1st site only. On the 2nd site layers are empty.
    Witold
    p.s. sorry - my english is not so good. ;-)

  4. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    if you install my plugin on a multisite installation, an instance of the plugin is created for all subblogs. So in your case you have to identify the table prefixes for subblogs, export the data from subblogs1 (eg wp1_leafletmapsmarker_markers + _layers) and reimport them in the tables of subblog 2 (eg wp2_leafletmapsmarker_markers + _layers).

  5. WJJ
    Member
    Posted 1 year ago #

    it's not so easy. Leaflet Maps Marker is installed and turn on in WP net for all domains. I don't wont to have 2 copies of layers on two domains. I want to use one copy of maps (layers, markers) on all domains served by one installation of WP.
    Is it possible to do?

  6. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    it is currently not possible to use maps created in one subblog in another subblog. Each subblog has its own tables which are separated.

  7. WJJ
    Member
    Posted 1 year ago #

    so it is new idea for you, to use it in new version of Leaflet Maps Marker. ;-)))
    Look multisite WP use only one MySQL base to serve all sites on all domains, I think is not a problem to use one table to create all maps on all sites, on all domains.

  8. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    not quite - if you look at a WP multisite installation, you see that each blog has its own tables within one database - they are separated by different prefixes (eg wp_1_leafletmapsmarker_markers, wp_2_leafletmapsmarker_markers...).

  9. WJJ
    Member
    Posted 1 year ago #

    I'm not a PHP programmer, but I think your plugin ask the date from MySQL tables. Your program creates SQL questions, defined names of tables. I don't know what to do it (I'm PHP programmer) but I think that it could be possible ;-))
    maybe in settings you can put lines:
    [choose marker table]
    [choose layer table]
    [...]
    and if for different domains lines are the same than maps are the same.
    It's good idea?

  10. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    thanks for the suggestion, but believe me, it is a bit more complicated like that ;-)

  11. WJJ
    Member
    Posted 1 year ago #

    By
    But what with:
    http://wordpress.org/support/topic/leaflet-maps-marker-to-big-links?replies=1
    could you be so kind to help me?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic