Been messing a bit with my google map, and here it is:
1. I have a mouse hover event definition . . . . why would I want to
bother keeping the mouse click event code?
2. The bottom map is identical to the upper map, except I tried to get
Been messing a bit with my google map, and here it is:
1. I have a mouse hover event definition . . . . why would I want to
bother keeping the mouse click event code?
2. The bottom map is identical to the upper map, except I tried to get
function createMarker(point,thumb_url,) {
the google maps main images are reacheble in such a link:
[link]
where only the x, y, and zoom variables are necesary. This x,y numbers
shows a part of Budapest. My questions are:
- are we able to use these pictures (legal)? In that way we are able
thank you very much,
Tabetan
CODE__________________________ ______________________________ _:
function example(location){
var point = showAddress(location);
I’m no prude but as per the terms of service of the Google map API
this must certainly be a completely unacceptable use of the Google Map
API.
Prostitution and the keeping of a brothel is completely illegal in
var theResults={ n:"result" ,// The nodeName value
c:[] ,// The childNodes
a:{} ,// The attributes
v:"" ,// The nodeValue
d:"" }// The CDATA
Nice and cross-domain , yet totally generic allowing for
I am trying to plot NY Counties on a map.
But I m facing some problems.
As there are 62 counties.
when i load the map, it takes too much time to load.
Atleast 10 seconds.
Is there a way to make the map load faster.
The second problem is when i try to change the polygon color from the
Is there a way to integrate google maps with a database inside moodle?
I would like to have people capture coordinates in a map and store
these coordinates in a moodle database to then display them on the map
along with some other info.
Is anyone working with Google Maps and Moodle?
I have to add a different listener to every element of my array, how
can i do?
PolyShapes is an array. Every time i create an element, i add to it a
listener.
-- code --
polyShapes.push(myElement);
//last element
is there any tile cutting tool was made in vb.net or any tools which
are very easy to use and
have simple examples?
i´m using JQuery. Overall no problem... just with Google Maps it does
not work at all.
While loading the code attached in the <head></head> area, all other
JQuery Code stop working and are reported as error.
Anybody who can fix this ? Thanks alot.
For example:
-----
$("#login-box") has no properties
tabs.push(new GInfoWindowTab(tabLabel,tabWid thSet + "<font
size='4'> " + tabTitle + "</font><table cellpadding=4;><tr><td
width='144'><img border=0 img src='" + tabImage1 + "' width='144'
Can anyone help me?
The url is [link]
I know that the UK postcode search takes only the first part into
account but my question is how to let the user know that.
I've users from all around the world, so I don't want to write
something above the input field as it might confuse the other users.
Would it be possible to give something out once the user entered a UK
What I want is that my marker should register the position where it
currently is located.
I want it to be outputted in a DIV which has it's Lat & Lng.. Here's
my code:
counter = 0;
var myEventListener = GEvent.bind(map, "click", this,
function(marker,point) {
if (counter == 0) {
is it possible to remove copyright in the map google map api? ie
"POWRED BY GOOGLE"...
I am trying to figure out how I can get the example Mike employs on
this page: [link] to work with
checkboxes.
I currently have a working map that is reading seven different
categories of markers from a single XML file. Each category has its on
checkbox in a sidebar and can be toggled on and off at the user's
I am using Google Maps for a year or embedded in many different
websites. I noticed that sometimes it just won't get images from or
can't connect to the google-servers on several moments in the day
regardless of the internet connections I am using on various
locations.
Is this a sign of their servers being overloaded with requests ? Is it
After reading the API I decided to start developing using Google maps
API. I generated the key and go the getting started sample code. I
wanted to have the Columbia University, NY campus set as the focus on
my google map. So I got the required longitude and latitude
information, set the focus to 17 and increased the width of the DIV
I am working on creating a custom map for my church where we can plot
our members on the map. We're developing community groups, like small
groups that can get together so that our church members can find local
people to hang out with.
I've got it mostly working. I use mysql db to store the addresses and
I realize that it is EXTREMELY unlikely that Google Maps would ever
go down. However, as a matter of practice, we would like for our site
to not be dependent on Google Maps.
In other words, we have a site that uses the Google Maps API
extensively and, with the current state of the code, there will be
var overIcon = new GIcon();
Icon.image = "path to your icon";
Icon.shadow = "path to your icon shadow";
Icon.iconSize = new GSize(12, 20);
Icon.shadowSize = new GSize(22, 20);
Icon.iconAnchor = new GPoint(6, 20);
Icon.infoWindowAnchor = new GPoint(6, 1);
Icon.infoShadowAnchor = new GPoint(13, 13);
I am very new to this. I am trying to limit my map to just one
country, say the US. I am not trying to save bandwidth or anything
just I need a simple way to limit my map to the US in a way that the
user looks at the map like there is only the US in the world.
Any ideas ?
-John Coryat
I have multiple overlays that I would like to merge into a single
overlay (strictly for ease of programming). Is there a way to do this
that is built into the API, or will I need to make my own class?
I have a problem embedding JavaScript function into kml file when
using Geoxml. As I learn from Mike Willians, I switch Geoxml to
EGeoXml to process kml file. With EGeoXml, JavaScipt function works
fine in the infoWindow. But the loading time for EGeoXml is very
slow.
This is my testing page for using GeoXml. It is fast, but infoWindow
I am trying to create an application adressed to our sales reps that
will create a route map using Google Maps. Now, since this app will
run in an Intranet, I am aware that we will have to apply for an
Enterprise key.
The idea is for our servers to send to google maps a few postcodes so
I want to use a GTileLayerOverlay which uses tiles of size other than
256x256 pixels (128x128 in this case).
The API documentation for GMapType.getTileSize() suggests that:
"All tile layers have the same tile size."
So I thought I could achieve my goal by:
(1) creating a base GMapType with tileSize=128 and a constant black
Is it possible to call a simple javascript fiunction from inside a
listener, when i try to do that, it says object required.
example:
GEvent.addListener(poly, "click", function(overlaylatlng)
{GLog.write("You clicked a polygon at overlaylatlng ");
function1() //javascript function on the same page
I have tried the newest Google maps api for flash sdk. It's great! But
when I tried the geocoder sample, I got the "Geocoding fail" error
message when I input the "Chinese words" in the search box.
( geocoder.geocode(address.text) got the
GeocodingEvent.GEOCODING_FAILU RE event. ) The geocoder of the
for (j=0; j<=addresses.length-1; j++)
{
findAddress(addresses[j]);
}
The findAddress function is taken from the standard example.
1046: Type was not found or was not a compile-time constant: MapEvent
and if I comment out that function, I get even more errors:
1120: Access of undefined prpperty MapEvent
'Stop running this script? A script on this page is causing Internet
Explorer to run slowly.'
The line is displayed after sometime but whenever the zoom level of
the map is increased, the browser hangs up.
-load one XML with GXmlHttp
-make a variable from the data
-use the variable with some other function
function loadLOCATIONS() {
var request = GXm [Http.create();]
request.open("GET", "locationTable.xml", false);
request.onreadystatechange = function() {
if (request.readyState == 4) {
I start digging on Flash API and there are some problems which are :
1) SWF is working in IE 7 but not working in Firefox 2
(surprisingly :) ) It gives error as :
"Initialization failed: please check the API key,
swf location, version and network availability."
2) I got some Tile Examples from "[link]
If any of you have submitted mapplets to the official Google
collection, do you have any feedback on what the timeframe was for
adding it to the collection? I submitted mine almost 2 weeks ago and
haven't heard back (In case anyone from Google is listening, the URL
to my mapplet is [link])
Been using the Google Map Creator [link]
to convert shapefiles containing polygons into tiles to overlay onto
Google Maps.
It works great, and has been such a useful tool.
Problem is we've now got some shapefiles that only contain lines
This site [link]
looks ugly in this browser.
I'm trying to put images overlays (GIF or PNG) on my map.
How could I change my picture to a semi-transparency image, wich would
let me see the background map behind my picture overlay.
I use gimp as picture editor.
Thanks for your help
Are there any plans to make this available for the maps api? Or as a
standalone webservice?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[link]">
Example (slow loading)
- Does the Google Maps API provide a vertical GScaleControl?
- If it does not, is there anyone that has implemented one and can
provide a snippet?
- If not, does anyone have any ideas of how to implement it?
Thanks // zumankii
I've been kind of spinning my wheels for a couple of hours now, and so
var geocoder : ClientGeocoder = new ClientGeocoder("ES");
thank you again for the brand new feature!
However, after a quick look I've found out that scrolling in/out with
a mouse wheel on the map doesn't work just as it did in the JavaScript
version - at least on my Mac (Firefox or Camino). After some googling
(yeah), here's a "hack" that works:
Ok, here we go: I have been asked by my company to analyse the
possibility of adding a section to our intranet that will show a map
We only have the addresses in our database, so i need to use
"addMarkerByAddress".
This works quite fine, but for one map i noticed it only shows 19 out
of 20 locations.
If I print the data that i use for the addMarkerByAddress just before
I use it it comes out fine:
Salzburg University of Applied Sciences has 14 programmes
I need the map to also work for [link]
I got a new key for [link]. Then I set up a script to
read the window.location.host and set the key accordingly.
The new does not work in the www address. But it does work in the
Friends need to do a route linking several points, with information on
latitude and longitude of a database, need to connect more than 25
points, (approximately 300 points each), someone might give me an
example of how to do this?
I've developed a load of KMZ's for content on cheap hotels and hostels
all around Europe.
These are fully compatable with KML standards.
The maps work perfectly in Maps and Google earth.
Example:
<a href=[link]
If I assign markers to a map using addOverlay and click on a marker to
pop its info window, after zooming (in or out) the info window remains
open.
If I assign markers to a map using a GMarkerManager (via addMarkers)
and I click on a marker to pop the its window, after zooming in or out
Once I have the coordinates I can then do a query to the database for
all entities within the polygon. Assume database has the geo
information.
Appreciate any sample code.
Thanks
Google appears to be adding UK overland train stations to their London
maps. They have been appearing sporadically over the last few weeks,
but now they seem to be here to stay. My problem is that in the very
location where I'm using a Google Map on a client site, Google's train
station is in the wrong location!
i have a problem with parsing a kml file with egeoxml...
the map is not centered.
if i move the following code to the end of the html file it works
fine.
<script type="text/javascript">
is it possible on google-maps (web-version not the google earth
client) that no streets will be shown ?
Is it possible to show only all citys with more as 5million
inhabitans ?
Best regards
Steffen
I'm successfully got the map to work, and load up points/markers from
my .kml file.
However, then next step is puzzling me...
I want the map to be automatically zoomed or sized into the div with
all markers on the map. From reading many sites and documents I gather
I'm developing a mashup where the user clicks on a marker and within
the info window there will be list of the latest 5 stories that have
been submitted from that town/city. The content is coming from a MySQL
database.
I'm using the PHP GoogleMapsAPI Class from here
[link] to build my PHP+MySQL
I am new to this group and would like to ask that google
provides the geocoding facality in which we can have the coordinates
of a particular address, but i need to get the approximate address
that will point to a particular coordinates in the map, the latitude
and the longitudes are provided by me and in return i need the nearby
Im working with the geocode future. I dont get a response when there
are multiple results in google earth (the markers with a, b etc.). The
other places work just fine. Is there a function or something that can
read these multiple results? Or is the error just because the place
isnt listed?
I want to use map API to control my own image. the image is
dynamically generated
by program according users' inputed parameters. it is very appreciated
you can give me advice or a simple example.
cheers
Yuan
First af all I would like to say that I have seen the topic
[link]
but it seems that it is not working.. :(
So.. I have the following code:
function createMarker(...) {
v2.112 uses a loading method which is not compatible with the existing
loader code. It's not just that it requires new _mF[] flags in order
to run, v112 doesn't support GLoadApi, which is the method currently
For example, I tried to search keywork '成都' on both sites. I can see
detail road names of one of China's city on ditu.google.com, but
cannot see any detail on [link].
Is there an easy way to make the code content of my maps API visible
to search engines?
Can anyone point me in the right direction?
Many thanks
Paul
It's not that I don't appreciate that the effort was put into making
these tools available. I'm just a little old school when it comes to
learning things the hard way as the best path to learning how things
I'm trying to integrate street views into my site and don't want it
showing unnecessarily...
Thanks!
i'm trying to figure out how to handle the 'address cannot be found'
error that gets returned from the geocoder.'this address cannot be
found, please modify your search'.
I'm hoping I can get something that can recognize this error so I can
I've searched through the forum and can see where there have been
requests for adding terrain and satellite capabilities to static maps,
but I haven't seen any requests for the road component of the hybrid
map type. It would be quite handy to also have this readily available