bjornd / jvectormap

jvectormap.com
GNU Affero General Public License v3.0
1.38k stars 431 forks source link

How to modify map focus?【resolved】 #433

Open empty-back opened 6 years ago

empty-back commented 6 years ago

http://jvectormap.com/examples/markers-world/

How does this demo implement the click annotation point to make the map focus become the current click point. $('#world-map-markers').vectorMap('set', 'focus', 'Vatican City'); I've tried this method map to zoom in, but other makers gone. use setSelectedMarkers this method always report Cannot read property 'element' of undefined

empty-back commented 6 years ago

The parameter is wrong...resolved