noobie question

M

mailtralala

hello, i have such problem

function show_countrymap(parameter)
{
map.setCenter(new GLatLng(0.0, 0.0), 12);
}

this is working, but in parameter i have for example "(22.22, 22.22)"
(without " " of course) and i want to use this parameter instead of
"(0.0, 0.0)", how to do it ?

thanks in advance


ps. sory for my poor english
 
R

Randy Webb

(e-mail address removed) said the following on 8/9/2006 9:01 AM:
hello, i have such problem

function show_countrymap(parameter)
{
map.setCenter(new GLatLng(0.0, 0.0), 12);
}

this is working, but in parameter i have for example "(22.22, 22.22)"
(without " " of course) and i want to use this parameter instead of
"(0.0, 0.0)", how to do it ?

thanks in advance

map.setCenter(new GLatLng(parameter),12);

show_countrymap('22.22,22.22')
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top