Hi mate,
I have a couple of solutions, both of which involve some amendments to main css file or php code.
I suggest to use .ico format for marker pinpoints images, but feel free to use what works the best for you!
1) Solution:
combine media query and class for marker images .jvectormap-marker like
@media only screen
and (max-width : 320px) {
.jvectormap-marker { width : 10px; }
}
@media only screen
and (max-width : 480px) {
.jvectormap-marker { width : 20px; }
}
and so on for all your breakpoints ( I’m using here a desktop first approach but feel free to have amobile first approach and using the min-width property ).
2) Solution:
create two versions of the same map ( 2 Rvm posts basically ), one for desktop and one for mobile (using export and import features will make it easier ) with 2 identical images for markers but different sizes.
Then you can recall in the code the 2 shortcodes using of the maps when user running your site on mobile devices (smart phones, tablet etc…) or desktop.
Combining the embedded wp functions wp_is_mobile and do_shortcode you can show different map each group of devices:
i.e.
<?php
if( wp_is_mobile() ) {// run map for mobile
echo do_shortcode('[rvm_map mapid="12345"]');
} else {//run map for desktop
echo do_shortcode('[rvm_map mapid="67891"]');
}
?>
I hope this can help.
Let me know