flask-extensions / Flask-GoogleMaps

Easy way to add GoogleMaps to Flask applications. maintainer: @getcake
https://flask-googlemaps.com
MIT License
647 stars 196 forks source link

Dynamically change center #46

Open alternativetel opened 7 years ago

alternativetel commented 7 years ago

Hi,

I can't find an example so I try this code but can't change the center position:

movingmap_markers.map(function(mk){mk.setCenter({lat: 37.44, lng:-122.135})})

Regards,