• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: CGGoogleMaps2 Maps :: Jquery Errors  Topic is solved
PostPosted: Tue Mar 13, 2018 5:37 pm 
Offline
New Member
New Member

Joined: Tue Mar 13, 2018 5:25 pm
Posts: 2
I am getting the error below:

Code:
jquery-3.3.1.js:3827 Uncaught TypeError: obj.cggm2 is not a function


Anyone else have this issue? Did you get it resolved?

Thanks,
Pete.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGGoogleMaps2 Maps :: Jquery Errors
PostPosted: Tue Mar 13, 2018 8:03 pm 
Offline
New Member
New Member

Joined: Tue Mar 13, 2018 5:25 pm
Posts: 2
Here is someof the generated code that is failing:

Code:
$(document).ready(function() {
    var obj = $('#cggm_map_1');
    obj.cggm2({
        "name": "Wakefield Location",
        "description": "<p>Blah blah blah</p>",
        "default_icon": "dd-start",
        "type": "roadmap",
        "zoom": 7,
        "nav_controls": 1,
        "infowindow": 1,
        "scale_controls": 0,
        "sv_controls": 0,
        "type_controls": 1,
        "tooltip": 1,
        "sv_radius": 100,
        "type_control_option": "DEFAULT",
        "infowindow_trigger": "click",
        "directions": 1,
        "directions_dest": "WINDOW",
        "directions_units": "IMPERIAL",
        "directions_draw": 1,
        "sensor": 1,
        "sensor_center": 1,
        "sensor_marker": 0,
        "sensor_icon": "dd-end-small",
        "combine_points": 0,
        "combined_icon": "airport",
        "markers": [],
        "youareherestr": "You are here",
        "mapinstance": 1,
        "center": ["0.000000", "0.000000"],
        "icons": {
            "dd-end-small": {
                "name": "dd-end-small",
                "url": "modules\/CGGoogleMaps2\/icons\/dd-end-small.png",
                "anchor_x": "5",
                "anchor_y": "8"
            },
            "dd-start": {
                "name": "dd-start",
                "url": "modules\/CGGoogleMaps2\/icons\/dd-start.png",
                "anchor_x": "10",
                "anchor_y": "17"
            },
            "dd-end": {
                "name": "dd-end",
                "url": "modules\/CGGoogleMaps2\/icons\/dd-end.png",
                "anchor_x": "10",
                "anchor_y": "17"
            },
            "airport": {
                "name": "airport",
                "url": "modules\/CGGoogleMaps2\/icons\/airport.png",
                "anchor_x": "11",
                "anchor_y": "16"
            }
        }
    });
});



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: googlebot


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
HostPapa CMS Made Simple hosting