How to create multiple markers on a google map using data from a database
Posted on 2014-01-15
I have a database with 3 columns (ID,lat ,long) and i want to represent this points with markers on a google map at asp .How can I succeed this ?
Most specific i want to take all the values of the database and put them in ONE variable.
For example my database is like this :
1 20.13 19.20
2 19.15 17.14
3 17.15 16.12
And i want my variable to become like this :
[20.13 , 19.20 , 1],[19.15 , 17.14 , 2],[17.15 ,16.12,3]