When I try to insert a map into a node all the shows is a blank space where the map should be and then below that is this junk of Javascript:
<script type="text/javascript">
// //initialize global gmap variables
var geocoder = null;
var mycontrol=null;
var mytypecontrol=null;
var map=null;
var gxmarkerjs=0;
var gmapMarkerLocation="/modules/gmap/markers";
var markerlink=0;
addLoadEvent(gmap_init);
addLoadEvent(gmap_load_map);
function gmap_load_map() {
map = new GMap2($("map"));
geocoder = new GClientGeocoder();
map.setCenter(new GLatLng(34.00037546099115, -81.03713035583496), 16);
mycontrol=new GSmallMapControl();
map.addControl(mycontrol);
keyboardhandler=new GKeyboardHandler(map);
map.addOverlay(createGMarker(new GLatLng(34.00082018827134,-81.03766679763794),'','','',''));
}
//]]>
</script>
The rest of the module appears to be functioning properly. I can create macros and have put the filter in the input format. I have also tried re-installing. I also have used previous versions of this module without incident.
Comments
Comment #1
gtoddv commentedAnyone got any ideas?
Comment #2
webgeer commentedThis is probably a filter problem. Try and create a new input format where the only active filter is the gmap filter and then if that works slowly add the filters untill you figure out which one is causing the problem.
Comment #3
gtoddv commentedWell that will teach me to try and use an updated module the way I used the old version! That was the trick. I haven't tried adding back any filters but using a blank one fixed the problem I may just create a blank filter just for events, which is all I plan on using the gmap module for anyway. Thanks very much for the assistance.
gtoddv