Google Maps Api v3 - set map position in runtime

How can I change position of the map, from where it is pointing now, to ie. 45.00,19.00, but in a runtime, now when map is initialized?

my application have to "jump" from some coordinates to other, so that's why I need this ability.


ok, here it is: google.maps.LatLng( 45, 19 ) );

Create that Map object, save it to a variable (i.e. map) and then use map.panTo(). See the reference of Map

you need the extended MVCObject() .... there you find getPosition() (return: LatLng) and setPosition(latlng:LatLng) you just need to set this property and map location will change

Need Your Help

How to get GCC linker command?

command-line gcc ld

How can I get the command line GCC uses to invoke ld?

Efficient string matching in Apache Spark

python apache-spark pyspark string-matching fuzzy-search

Using an OCR tool I extracted texts from screenshots (about 1-5 sentences each). However, when manually verifying the extracted text, I noticed several errors that occur from time to time.