I am working to insertmarkers from a json source. I first tested successfully, the creation of markers when I click a button. That data seems to be an array of objects which works. When I build my json and return it from ASPX, the data is in a form of a string - not an arry and this does not work. I have attempted to build the json manually and also with a json serializer - both fail. any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I would try using Firebug (or other developer tools) to ensure that the data being loaded by the scrip is actually formatted correctly. I would do lots of tests, like putting a text file of a simple JSON object, and seeing if that loads correctly.
I would also try to make sure that the doctype of the document is correct too.
Darren
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am working to insertmarkers from a json source. I first tested successfully, the creation of markers when I click a button. That data seems to be an array of objects which works. When I build my json and return it from ASPX, the data is in a form of a string - not an arry and this does not work. I have attempted to build the json manually and also with a json serializer - both fail. any suggestions?
Hi,
I would try using Firebug (or other developer tools) to ensure that the data being loaded by the scrip is actually formatted correctly. I would do lots of tests, like putting a text file of a simple JSON object, and seeing if that loads correctly.
I would also try to make sure that the doctype of the document is correct too.
Darren