Dheeraj Agrawal
Dheeraj Agrawal

Reputation: 2357

Google map - Multiple marker

I am trying to set multiple markers, getting address fetching from database and storing it to javascript array variable, then by running a loop trying to set markers in my map, but its not working.

This is my working URL : http://projects.pronixtech.net/kindcampaign/kind-country/

Please look to the source code, and please guys help me i have already given my full day on this.

Upvotes: 1

Views: 536

Answers (1)

Baz1nga
Baz1nga

Reputation: 15579

FYI There is a JS error on your page i.e it could not find $(".videopan") i guess and you need not do the replace of px etc for parsing you could do

parseInt($(".videopan").css("left"))

i.e

parseInt("50px")=50

Upvotes: 1

Related Questions