PDA

View Full Version : getting close


flhomesites394744
02-05-2010, 08:22 PM
Hi,
You helped me a lot, but I have one more issue.

Where in the code can I change the default address of the center of the map? I need to move the map upward.

I am not using a DB, I entered each address in the wizard, but I want to make the change directly in the code, not the wizard.



THANKS!!!

Jason Byrnes
02-08-2010, 09:42 AM
the code that sets the default for the map if address look up fails is:
else {
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
}


you can change the latitude and longitude used in the first argument of the GLatLng function.