Discussion on MapSVG jQuery - Responsive Vector Maps, Floorplans, Interactive SVG Images

RomanCode

RomanCode supports this item

Supported

This author's response time can be up to 5 business days.

442 comments found.

I purchased this plugin. how can I use it out of wordpress. shoud I buy JQuery mode again?

Hi, if you don’t need jQuery MapSVG builder and you’re able to enter all settings by writing them into JS code then you can take all necessary files from WP MapSVG: mapsvg.min.js, mapsvg.css, etc. You need to include these files into your page:
<link href="/css/mapsvg.css" rel="stylesheet">
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="/js/mapsvg.min.js"></script>

And then use jQuery documentation: http://mapsvg.com/documentation/jquery/

If you want to use jQuery MapSVG Builder (which is much easier to use) then you have to buy jQuery MapSVG plugin.

Hi,

Thanks for your jquery maps, Its great so far. I just have a question.

I have a jquery array of markers that I show on a map , but I update it though filters, I need to re-init/update/relaunch the map when the markers are updated and I doesn’t see any method for this.

Can you help ?

Hi,

You can update any mapsvg settings via .update method:
jQuery('#mapsvg-123').mapSvg().update( { 
   markers: {
      marker_id_1: {...options...}, 
      marker_id_2: {...options...}
   } 
});
by
by
by
by
by
by