GoMap Plugin Json Problem

GoMap Plugin Json Problem

Hello everyone 

I'm using goMap plugin.I wanna retrieve data from my json file but when I'm trying I can't see map or anything. I read this topic but it doesn't work and i can't find my problem.

I'm sending my jSon file and script

Thanks in advance i really appreciate all the help

My Json File
  1. {
  2. "MyMarkers": [
  3. {
  4. "latitude" : "40.739228",
  5. "longitude" : "30.097307",
  6. "group" : "airport",
  7. "icon" : "images/marker-airport.png"
  8. },
  9. {
  10. "latitude" : "40.763301",
  11. "longitude" : "29.927779",
  12. "group" : "restaurant",
  13. "icon" : "images/marker-restaurant.png"
  14. }
  15. ]
  16. }

Original Script

  1. jQuery('#map').goMap({
  2. maptype: 'ROADMAP',
  3.         latitude: 40.771942, 
  4.         longitude: 29.949655, 
  5.         zoom: 11,
  6.         scaleControl: true,
  7.         scrollwheel: false,
  8. markers: [
  9. {latitude: 40.739228, longitude: 30.097307, group: 'airport', icon: 'images/marker-airport.png', html: {
  10. content: 'Kocaeli Cengiz Topel Havalimanı<br />D-100 Karayolu üzeri 13 Km Kartepe/Kocaeli<br>+90 262 375 2222'
  11. }},
  12. {latitude: 40.763301, longitude: 29.927779, group: 'restaurant', icon: 'images/marker-restaurant.png', html: {
  13. content: 'Cafe De La Rue<br />Cumhuriyet Caddesi No : 186 İzmit/Kocaeli<br>+90262 325 36 36'
  14. }},
  15. {latitude: 40.762699, longitude: 29.927334, group: 'shop', icon: 'images/marker-shop.png', html: {
  16. content: 'Migros<br />Körfez Mah. Sanayi Cad İzmit/Kocaeli'
  17. }},
  18. {latitude: 40.762802, longitude: 29.924976, group: 'entertainment', icon: 'images/marker-entertainment.png', html: {
  19. content: 'Doping Cafe<br />Tepecik Mh. 41200 İzmit/Kocaeli'
  20. }},
  21. ]
  22. });


Edited Script

  1. $.getJSON('marker/marker.json, function(myMarkers){
          $("#map").goMap({ 
            markers: myMarkers 
        });
    });