Hi.
In my project www.aveiromagazine.com (tab Bares), when you click in a bar name, show the name, e-mail, and I want to show the location in google maps. I try in a separate project to try the google maps integrate with aspx pages, and everythig goes well, but when I try to insert in the module the map don't show up.
I have this code in vb file, page load:
Dim body As System.Web.UI.HtmlControls.HtmlGenericControl = CType(Page.FindControl("Body"), System.Web.UI.HtmlControls.HtmlGenericControl)"UrlGoogleMaps", ResolveClientUrl("http://maps.google.com/maps?file=api&v=2.x&sensor=false&key=ABQIAAAA-Z-lBMrt2XDfP-YP63c7kRTqz7d8C8Jj0R24c23-UrfUbKpoLRRO6j8M6ii3NyOrpF3d60H36u9PXw"))"GoogleMaps", ResolveUrl("~/js/GoogleMaps.js"))
and in js file I have this:
var
map = null;
var
map =
map.setCenter(
map.setUIToDefault();
geocoder =
}
}
geocoder.getLatLng(
address,
address +
}
map.setCenter(point, 13);
map.addOverlay(marker);
marker.openInfoWindowHtml(address);
}
}
);
}
}
geocoder = null;function initialize() {if (GBrowserIsCompatible()) {new GMap2(document.getElementById("map_canvas"));new GLatLng(37.4419, -122.1419), 13);new GClientGeocoder();function showAddress(address) {if (geocoder) {function(point) {if (!point) {" not found");else {var marker = new GMarker(point);
It's simple, but the map don't show... You now why?
Thank you
Page.ClientScript.RegisterClientScriptInclude(
Page.ClientScript.RegisterClientScriptInclude(