kdefilip / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

setPosition not working* #341

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Demo link or sample code:
var test = new google.maps.LatLng( 46.818188, 8.227511999999933 );
infoBox.setPosition(test);

Expected result:
The infobox' position: lat, lng will have changed to the given latlng.

Actual result:
the infobox still has position: lat, lng as specified after initiating.

Version: 1.1.13

Browser / Operating System:
[CHROME / Windows 8]

Additional comments:
Setting the content of the infoBox is not a problem. I have tried a number of 
different inputs for setPosition however, including an array containing lat:, 
lng and a comma seperated string. Nothing seems to change the initial value.

*********************************************************
Tip: Star this issue (next to title) to receive notifications of status
changes against this issue, also used as a gauge for how many people are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by leisur...@gmail.com on 24 Jun 2015 at 10:44

GoogleCodeExporter commented 8 years ago
Fixed. I used the infoBox.open commend, and accidentally added the old latlng 
in the second argument.

Original comment by leisur...@gmail.com on 24 Jun 2015 at 11:09