0
<script type="text/javascript">
    function initialize() {
        var markers = JSON.parse('[{"title":"Chennai","lat":"12.897400","lng":"80.288000","Description":"welcome to chennai"},{"title":"Hyderabad","lat":"17.266700","lng":"78.530200","Description":"welcome to hyderabad"},{"title":"Banglore","lat":"12.897400","lng":"77.519500","Description":"welcome to Banglore"},{"title":"vishkapatnam","lat":"17.518300","lng":"83.320300","Description":"welcome to Vishkapatnam"}]');
        var mapOptions = {
            center: new google.maps.LatLng(markers[0].lat, markers[0].lng),
            zoom: 5,
            mapTypeId: google.maps.MapTypeId.ROADMAP

        };

I am getting the JSON is not find Microsoft?so what do i do?

EricLaw
  • 56,563
  • 7
  • 151
  • 196
Sambasiva
  • 1,034
  • 3
  • 16
  • 29

2 Answers2

2

Check to see if you are in compatibility mode. You can ensure that IE8 is not rendering in IE7 mode via a meta tag

<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />

or preferably, using the doctype

<!DOCTYPE html>
cbeckner
  • 1,808
  • 15
  • 17
0

Somewhere before your code :

window.JSON || 
    document.write('<script src="https://cdnjs.cloudflare.com/ajax/libs/json3/3.2.4/json3.min.js"><\/script>');
Paul Rad
  • 4,820
  • 1
  • 22
  • 23