var MMgrOptions={trackMarkers:fals e,maxZoom:20};
MManager=new MarkerManager(map,MMgrOptions) ;
for (var i=0;i<this.Nodes.length;i++)
{
if (i!=0)
{
if (this.Nodes[i].SNo!=this.Nodes [i-1].SNo)
this.Markers.push(new GMarker(this.Nodes[i].GN));
My university has acquired an couple of buildings on the other side of
town. The idea is they would like to incorporate this into the
current map that I am making.
so my idea is that I would like to have a tab/button on the page that
Hope you can help as I have spent all morning tring to find a answer.
I am using MS Access to use Google maps by using:
[link] " & aa &
"&iwloc=A&hl=en"
which works fine, however I would like to add a number of locations to
the same map. Can I do it by this method above, and if so how, or do
var vertex = polyline.getVertex(3);
How would I change the lat / lng of the vertex. It doesn't have a
setLatLng method. It appears to have x, y, lat, lng properties but
none of them seem to do anything when set.
I'm trying to add an <a name="map"> element around where the map
starts so the entire map interface can be shown on one screen.
Although it doesn't seem to affect Firefox 2/3 or IE7, it completely
I'm writing one-page application, which intensively uses GMaps. Coz it
is one-page, there is no "onunload" events, and all maps are defined
in the same "window" object.
As I know, GUnload clears all maps in current "window". Is there any
recommended way to call GUnload for specific map (not for all maps in
with this piece of code (and other function calls) which are working
in FF:
var point = new GLatLng(lat, lng);
var tooltip = "t";
var html = "h";
// this works...
w = 18;
h = 25;
var newIcon = MapIconMaker.createMarkerIcon( {width: w, height: h,
primaryColor: type, cornerColor: corner, strokeColor: "#000000"});
Using PHP/MySQL with Google Maps
Pamela Fox
I am currently looking to create an international store locator.
Whilst this has worked well for uk stores if I add any store in for
Europe i.e. France or Netherlands the geocoder object seems to be
Does anybody of you know of an extension that allows to have a similar
behaviour for infoboxes as VE Maps have. E.g display infobox on
mouseover (marker) and closing the infowindow again once the mouse
cursor is neither over the marker nor the infobox. It's necessary that
the mouse can travel from the marker to the infobox without it closing
function initialize() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById( "map_canvas"));
geocoder = new GClientGeocoder();
I can find the closest vertex easily but then I'm a little bit stuck
trying to figure out which segment the point belongs to. Is the point
returned by the handler guaranteed to be on the poly (ie. snap to
function makeMarker(point, message, titleNum) {
var myIcon = new GIcon();
myIcon.image = iconFile;
myIcon.printImage = iconFile;
myIcon.mozPrintImage = iconFile;
myIcon.transparent = "/Images/star2_trans.png";
myIcon.iconSize = new GSize(20,19);
myIcon.iconAnchor = new GPoint(10,10);
When I run my code with just one custom marker everything displays
perfectly but when I try to add a second marker colour none of the
markers are displayed.
I would like to use Google Maps for a password protected site. This
site will per consequent not be accessible to anyone.
Is this kind of use within the Terms of Service of the free Google Map
API ?
I can read the following :
[...]
Can I use the Google Maps APIs on a site that is password protected?
What I was wondering is whether those markers are available for the
normal google map as well and where I could get those marker icons.
I will try to give as much detail as I can.
I've got a custom map (replaced the tile url function) and so far
adding markers has been perfect. I decided it was time to add
Please help me to assign gmnoprint class to a large map type control
in Javascript.
Thanks
Abe
can i know when the loading of map is completed?
thanks
Notice that the click events on markers still work and once you click
on a marker(GEvent listener defined on it), the ScrollWheelZoom
fonction is back.
Thanks in Advance
I have a group of markers, nodes of a street path: they're sent to
Google Maps as they're read from the data source (a XML file, let
say). the target is to generate a street path connecting these points,
and I don't have problems in this.
the problem is that the path is generated following the XML's nodes
this is my first post here, so bear with me if you will :-)
I'm trying to use the mouseout (en mouseover) events on a polygon,
however the problem is that the mouseout is not accurate enough. Since
I don't have any code which you can reach at this point I will show it
using this link: [link].
I am facing below issues with printing Google Maps. I have binded
Google Maps in a html div tag by calling Google Maps along with a
key.I have tried to print Google Maps by Window.Print options and I
tried to export google maps into PDF using Cute PDF Writer.
PDF Export Issue : I have tried to export the Google Maps into an PDF
I hope I don't get you mad if this is a boring quesion ...
I'm trying to set up a CMS (Joomla) with GoogleMaps integrated so that
users can submit their favourite places.
- They should be able to start with a google map centered on
Switzerland, then scroll around...and set a placemark with description
I'm trying to use the model of the Google Store Locator [http:]
I am trying to figure out a strange problem. I use Google Maps API to
create a map on a website. The variables for the map search are
generated by a PHP script.
It works well in IE, but not in Firefox. The Firefox Error Console
gives me the error messages:
Error: uncaught exception: [Exception... "Operation is not supported"
We are non-profit and have an educational touchscreen kiosk that
displays among other things a simple Google map.
I was so glad that Google allowed the "Powered by Google" link to be
optional.
My last hurdle is how to prevent the "Terms of Use" popup window from
allowing the viewer to then go off and follow all the many many links
open the following link...
[link]
opening this link show following:
InstaMapper API v1.00
0071543339905,Demo car,1209252522,47.56878,-122.1 7887,9.0,18.6,25
0071543339905,Demo car,1209252527,47.56943,-122.1 7850,9.0,15.0,21
I am with problems in the accountant of markers.
When I add two markers, is drawn in the map a circle and when adding
third a polygon is drawn.
When i click in any marker it is removed, however the accountant only
functions when I remove in the order that I added. The problem is when
any example to diplay a map with rounded corner ??
Thanks
i've done this page : [link]
My script compare the distance from a city to another and says what is
the price for a displacement.
I just want the result, not the map and itinery.
But when i remove the <table> to </table> and a part of the
javascript, the firefox console says me that :
Switching marker color, basic Hello World:
[link]
I'm trying to create a map displaying a polygon of conservation areas
along with a marker for the location of each conservation area.
However, I only want the marker/point description in the sidebar.
1. To achieve faster rendering of polylines with many vertices
(hundreds), would encoding them help?
2. Is it possible to replicate native Google Maps' ability to have a
mouseover marker move along a polyline? I know about the mouseover
event not returning a point, and that click does... Just wondering how
But it only gives me blanks lately. Is it me or is it just broken?
The URL is here: [link].
I'll give you any other info you need and I'd really appreciate
chs=440x220
cht=t
chtm=usa
chco=ffffff,ffffff,cf0000,6200 00
chld="+statecodes+"
chd="+statevalues+"
chf=bg,s,ACC6E6
The default background for States is #ffffff, 0 value color is
The map has been working well for a month, since we introduced it. But
Sorry for my english.
I want to analyze with you a trouble that happened to me when i wanted
to use AJAX on maximizeclick (InfoWindow) event.
I based on Max content with AJAX demo for this purpouse.
My google maps application contains many marks that contains different
information. I want that when someone maximize one info window then it
Anyone can help me?
Thank you very much
I am building a Google Maps API for my website and in my testing I
have banned my IP address from viewing satellite tiles. All of a
sudden it is telling me that there is no satellite imagery at the zoom
level I am viewing it at (which is at any zoom level).
I have checked it out and Google is def seeing my IP address as a bot.
var x1 = new GLatLng(14,5);
var x2 = new GLatLng(16,7);
var limites_imagen = new GLatLngBounds(x1, x2);
var imagen = new GGroundOverlay("[link]
SG0T_VTpJRI/AAAAAAAAEXc/zxEe3N PunC4/s320/IMG_1224.JPG" ,
limites_imagen);
map.addOverlay(imagen);
this is sample link
and you can see my code in view source
what should i do?
Thanks
Click "And go to Meetings"
Select any address in the right hand column and click
Click continue next
A map appears and the GLargeMapControl has the wrong background.
A number of attempts have failed and now we need the experts to step
Iam using the Google Map feature in my website, we are facing with the
GMap2 undefined error while loading the file in IE 7, it works
perfectly fine in Firefox,
kindly lt me know as to how can i resolve the GMap2 error, i tried
doing a lot of workarounds like, adding the block in try catch and
How much does it cost?
There is also Google Maps API in use.
I'm developing an asset tracking application (yes, I plan on
purchasing a Premier Key once this is developed).
Mapping Code:
<script type="text/javascript">
//<![CDATA[
function load()
{
if (GBrowserIsCompatible())
{
var map = new GMap2(document.getElementById( "mapping"));
I'm using the maps API to develop a mapping application for fleet
tracking (yes, once development is complete, i plan on purchasing a
Premier API Key).
My Maps Code:
<script type="text/javascript">
//<![CDATA[
function load()
{
if (GBrowserIsCompatible())
{
Does anyone have an idea why the google kml demo page is receiving
javascript errors?
--Russell
Can I judge a point whether it is in the GPolyline, now I have draw
some polylines in the map, then I get a point in the map, can I point
out that whether the point is in the polyline that I have drawn.
Thanks!
I copied the JavaScript from the following web page that was a good
demo-example of a Street View Panorama object event causing the icon
to move across the map with a poly line trail...just what I want
I'm trying to get my marker icon to move on the map when click down
the street on the street view panorama...
I've been attempting to plagiarize some JavaScript from the following
web site that was suggested as a good tutorial-example for this:
I've been able to hard code the lat/lng for a marker, but the marker
is taking in a parameter from the "point" function, so I think for
this reason it is displaying the (red) marker I want AND returning the
"B" marker:
function(point) {
if (!point) {
alert(address + " not found");
I've created a mysql table where i'm storing the paths to images in a
column called 'images' which I want to use in the infowindows in my
google maps. I'm using load_file("path/picture.jpg") to store the
information in the column.
I then create an xml file of the table data in the way shown in your
I am developing a Google maps application where I put a marker on the
map based on a provided address. The marker is movable and I expect
the user to place the marker on the correct spot on the map in case
the lat / lng query was inaccurate (this is mostly due to incomplete
addresses on the database).
But the problem is that the imagen size is very small a anyone who
want to see the image should zoom in a lot. So I would like to fix the
size as google map do it and just see the images in the big map in
1) I can't make the directions work. The page is just getting
reloaded.
2) When I click on the directions "to here" and "from here" the white
window where the links are is getting switched to a different marker.
Thank you,
I have been trying out the http GeoCoder ([link]
geo) for addresses here in New Zealand. So far, the accuracy looks
really good.
We are looking at using the service for two things.
1) To get the Lat&Long (of course)
2) Validate the address the user types in
I am having some trouble with the second part as it won’t return the
The data I'm working with, however, is initially in (Spanish) address
I made a webpage to show the static map, and the webpage worked fine
in my local file system -- I mean with "FILE://***" in my browser.
But after I put it on the web, it doesn't work. !!
My link is at [link]
I have no idea about it.
I also would like to add a picture in a determinated position.
Anybody could help me?
Thank you very much
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
/Roland
I want too know how to create a KML for google earth that takes data
from my Google Maps API (Flight Tracking
So the URL for the Flight Tracker on Google Maps fed into a KML for
Google Earth so my Maps viewers can also view Google Earth not just
maps.
Regards,
Robbie
We're looking for a Google maps API expert to contract on a project
here. We are an environmental startup. Living in San Francisco huge
plus, database skills also large plus. Please contact me at
// First thing, make sure this Browser can handle GOOGLE Maps
if (GBrowserIsCompatible())
{
// Download the data from PHP/mySQL and load it on the map.
GDownloadUrl(xml_file, function(data, responseCode)
{
Demonstrated on:
[link]
The only difference between the map at the top and the map at the
I'm new to Mapplets and Firebug...but can anyone point me to a
tutorial for debugging a Mapplet using Firebug?
(sorry in advance if this is a stupid question)
