Adding pushpins using custom icons for an initial point and different pushpin icons for JSON derived lat,lng positions within raduis of initial point.
Tuesday, August 07, 2012 3:26 PM
I have json data returned from an SQL DB that contains lat, lng data and a couple text fields.
I derive this data by defining an initial point on a map and then capture gps positions from the database if they are within a radius of the initial point. That part is done, I have my filtered JSON data back from the server.
I need to add a pushpin using a custom icon at the initial position and then place pushpins from the derived json data records using a different pushpin icon.
Then I need to be able to mouseover the pushpins from the JSON data pushpins to allow a info box to display the 2 text fields.
I have played with a few tutorials and have generated a working example, but it uses the default pushpins and I am having a problem placing the initial pushpin. here is the example:
any suggestions are greatly appreciated.
Saturday, August 11, 2012 3:12 PMOwnerBefore going too far I highly recommend using the Bing Maps V7 AJAX control and not the v6.3 version that you are currently using. The V6.3 control is a very old control which has not been updated for several years. You can find information on the Bing Maps V7 control here: http://msdn.microsoft.com/en-us/library/gg427610.aspx