Things may become clearer if you study just how OpenLayers works with
Google tiles. The Google API is loaded underneath the openlayers code, and
used to display Google's tiles - as required by the terms of use.
You can use the Gooogle API with or without a key, what service you get
depends
No solution / bug accepted / some response?
This is a API users/developers forum. If other Maps API users haven't seen
your problem, they probably won't answer.
To check for known problems, see the API Issues List at
http://code.google.com/p/gmaps-api-issues/
Bugs are not accepted on
Thinks:
when doing more than just static markers in some environments, it can help
to set the marker's optimize property to 'false'
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To unsubscribe from this group and stop
Have you included the MapLabel library? It only works in Canvas capable
browsers. A link to the failing webpage would provide full context.
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To unsubscribe from this group and
I have array of coordinates, I want to search a marker point to check
whether its in the array of coordinate or not
You could write some javascript to do compare coordinates, it's not really
an API question.
But you might like to think about what same means here, Depending on the
Comparing the color of the pins on the left to those on the map shows a
clear difference between the two.
Your KML includes a colour changing element
Style id=ORANGE_POINT
IconStyle
colorff0080ff/color
Iconhrefhttp://www.
See
I have modified the following test example to demonstrate all the possible
options.
The option you seem to have missed out is specifying adsense library and
key in one API call. Do not call the API twice.
Example
script src=
You're not using the recommended key. Without a key, I believe the limits
default to the older keyless limit of 1,000 per day, or 250 per 6 hours.
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To view this discussion on the
I've put a Jquery tooltip in an infowindow Google Map V3, and it doesn't
work.
You probably want to listen for the infowindow's 'domready' event before
trying to attach tooltips to it
https://developers.google.com/maps/documentation/javascript/reference#InfoWindow
This should ensure that
But a word of warning ... avoid clashes with the API internal marker
properties, which might take the form of marker.x or marker.ab and
also change from time to time. Just invent a property Google are
unlikely ever to use
marker.My_id
marker.Our_Metadata
--
You received this message because you
Do you think the behaviour is wrong? If you draw a box round
Australia to highlight it, and zoom out far enough to see two
Australia's, should there be one box or two? Why?
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To
aha - I misunderstood 'working example' as this is the kind of thing
I want to do, my fault.
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To
So if the domready listener is different than
$(document).ready, how is it different?
domready is an event fired by the Maps API, when it has finished
building an infowindow
https://developers.google.com/maps/documentation/javascript/reference#InfoWindow
$(document).ready is some jquery
Is it possible to reference an HTML element that exists inside an info
window prior to the marker click event?
That would depend if the infowindow exists yet or not. That depends on
your code that we can't see. Very often it doesn't exist yet.
A workaround would be to create the HTML content
Currently Google Maps uses document.write which is not CSP compliant, and
thus renders maps incompatible with say Google's new packaged apps which
disallows
Loading the API asynchronously
https://developers.google.com/maps/documentation/javascript/tutorial#Loading_the_Maps_API
circumvents
There lack of response may
indicate they are unconcerned about this issue and I can take it as an
implicit Yes.
Interested in that approach myself - Dear Mr. Prime Minister, could I
be excused from paying taxes this year? and if he doesn't respond
I'll take that as a implied Yes ...
Perhaps
OP is not interested in mapping the locations
OP is looking for a special dispensation around a specific prohibition
in the Terms
10.1.1(g) No Use of Content without a Google Map
I couldn't say how likely that it is to happen, but not very I would
think.
It'd certainly need to come from Google in
Can you give a little more detail about optimized: false, not
working
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group,
so the 2D solutions will be
close to correct
You'd have to define what you would call a correct 3D solution.
Imagine a circle drawn on a sphere with a point marked within it. Is
the point inside the circle or not from your viewpoint? It is above
the plane of the circle, so could be considered
I am looking for a solution. I want to drag drop several objects
(polylines, markers...) simultaneously, but I do not know if this is
possible ...
Can you describe how you would envisage that happening, like say using
several mice at once or something? Maybe a draggable select box, or a
when it should be 43.681413,-70.45168
Can you expand on why you think it should be that - are you assuming
the imagery is accurate to better than 20m? Which imagery?
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to
www.google.com/inti/en-US_US/help/terms_maps.html
which does not exist. What changed?
Looks like a typo try
http://www.google.com/intl/en-US_US/help/terms_maps.html
(intl instead of inti)
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API
Can we update the user's position on the map every minute or 50 meters and
not violate the real time navigation restriction? What if we had an update
button that the user could click to update their own position? Is there any
way around this problem?
It always has been a part of the terms of
ich habe eine Frage wegen so einem keywo bekomme ich den den key
The English version of
https://developers.google.com/maps/documentation/javascript/tutorial
tells you, but this does not seem to have been translated for the
German version yet.
--
You received this message because you are
1) Will this feature be available soon through the API to specify that the
map displayed should be centered on the user's location?
2) Will be the user's location be available through the API to find
features around it?
Have you seen this example in the documentation?
I would hazard a guess it is struggling to determine which is the
inside and outside of a bowtie. The 'path' of a bowtie will include
clockwise and anticlockwise legs, which are usually used to determine
inside and outside e.g. polygons with holes. Handling both holes and
bowties may be mutually
I was curious if the listener can be exposed in the maps
api V3 code in the index.html file.
Guess it's the word 'exposed' that confuses me.
If you want to place some of your own code that adds a clicklistener
to your GE object in a HTML file, you can. You would need to make
sure that the GE
www.gmapsapi.net/GE1is up but don't know why it is not working from
Works with an http:// prefix
How do you expose GE in the index.html file in order to add a listener
to show the lat/lng coordinates of the GE mouse click?
GE plugin forum
http://groups.google.com/group/kml-support
I think
the listener functions from within the .JS file
Was just curious if GE can be exposed in the index.html js code
Don't think I understand the question really.
Can you give an example?
Note that you are loading GE asynchronously, so you won't be able to
do anything with it before it has loaded.
Any thoughts as to why this could be happening?
Wild guesses:
You have a superflous comma at the end?
Your code attempts to read beyoend the last element?
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group,
But I want to remove the text in each box, I don't want it to display (x,
y).
You could do something radical like looking in the code to see where
that text is added to the grid's div, and comment that part out.
Hint
div.innerHTML = coord;
--
You received this message because you are
My current page works fine http://rajanmaharjan.com.np/autozoom.php has
no such error as mentioned.
Breaks for me, when the marker is dragged. 'codeLatLng' is undefined
Look in your code for drag end.
--
You received this message because you are subscribed to the Google Groups
Google Maps
If the rectangle is large, you may need to account for the curvature
of the earth - do you want the area of the surface or the imaginary
plane rectangle?
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send
please tell me how i can show picture in infowindow?
An infowindow is populated with HTML. Load your picture using an
img tag with the path to your picture, it works best if you specify
height and width too.
--
You received this message because you are subscribed to the Google Groups
Google
Will any of the google api's do the closest pair of points problem?
No.
( assuming you mean http://en.wikipedia.org/wiki/Closest_pair_of_points_problem
)
Mapping a route in the smallest distance.
If you mean the Travelling Postman problem, Google's Direction service
will optimize intermediate
oops, Travelling Salesman Problem (not to be confused with Chinese
Postman)
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this
I want Google to answer this
question clearly.
They do, they publish their terms and conditions.
https://developers.google.com/maps/terms
Those of us that need help to fully understand these will need to hire
our own lawyer.
Those terms have been updated since this thread was last active, so
I was lloking for an api from
google that would return a set of coordinates able to follow the roads
But do read the Terms of Use, which require you to use Directions
coordinates in conjunction with a Google Map of some kind.
--
You received this message because you are subscribed to the
So I did a bit of reading and found out those 2 articles which I find
contradictory:
https://developers.google.com/maps/documentation/javascript/usage
That page doesn't refer to geocoding at all
https://developers.google.com/maps/articles/geocodestrat#quota-limits
I used to plan on using
1. First of all are we allowed to modify the search results?
I don't believe Directions results are what Google means when it
refers to search results in the Terms 10.1.1.(d)
I would call Directions results 'Content', as is mentioned in 8.3.(a).
Namely to change the
duration (time) data get
DUH! Do you want other users key?
What do you think I could do with it? I don't have control of your
domain where it should be working, and it won't work anywhere else.
People do copy-and-paste things like YOURKEY from examples into their
own pages, it has been seen several times.
I
have
src=http://maps.googleapis.com/maps/api/js?key=YOURKEYsensor=true;
YOURKEY is not a valid key.
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
It works for me on google
maps:http://maps.google.com/maps?q=http:%2F%2Fwww.yarvolgar.com%2Fkml%2Ftr...
What I saw on both maps.google.com and on the OP's page was a
chequerboard effect, i.e. the KML renderer was serving some image
tiles but not others.
As that makes no sense, I would guess
If there's any information we can provide/do to help track down this issue
please let us know.
A page exhibiting the problem would be good (be the first in this
thrad!)
http://www.bathurst.nsw.gov.au/mapshelloworld.html comes up 404 for me
--
You received this message because you are
Let me put my question in this way.My application will be deployed at
Customer Site.
A question for you to think about; can anyone view your Map
applications without payment? (It sounds like they cannot, only by
visiting this customer site?)
b)If the MAPS API Free version cannot use.Then is
You could start with something like this
http://freegisdata.rtwilson.com/
and might be able to extract the city data, if you decide what you
need (boundaries? centres? names?)
'Parks' might be more difficult - National Parks, ballparks?
--
You received this message because you are subscribed to
This article discusses a usage of Dijkstra
http://www.blackwasp.co.uk/Dijkstra.aspx
Note the use of a two-way flag to control one-way routes
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send email to
Example, if ten people draw the outline of a city, the algorithm
should be able to combine all ten and give a single boundary as the
result.
I think if you search for crowdsourced rather than clustered
polygons, you will get more clues. One approach is to use a scoring
system on the vertices.
I don't see any comments in
http://www.meadowlarkco.com/regulationsmap.xml
This is now displaying for me in maps.google.com and
www.meadowlarkco.com/regulationsmap2.html
This all feels like one of those variable timeout issues.
--
You received this message because you are subscribed to the
The API geocoder is a postal address geocoder. Things like brussels
(this is a nice place) are not well-formed postal addresses, and the
geocoder struggles with them. You do have to look at all the results
returned, not just the first one. They may not be in the order you
expect.
The geocoder
Is there a API funcion to handle images with the google maps?
Sure
http://code.google.com/apis/maps/documentation/javascript/overlays.html#GroundOverlays
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group,
want to display third party map (image tiles) instead of google map.
Your previous thread did get an answer
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/b11c012f6c91d21e/bc667fc0b24627fc
if that answer doesn't satisfy you, it might help to get something
better if you
I have a scenario where i do a json call, and it returns array of objects.
Each json object is a geo location, either a gmap marker or route/polyline.
Every object has properties: id, name, description, kml_url. Kml_url is
used to draw a object's kml on a map,
Is there some compelling reason
I'd like to know what are the best strategies and practises to use
when building a google map that has millions of markers.
Go back a step and re-examine your needs. A viewer isn't goimg to get
much value out of a map with millions of markers on it, so you could
perhaps think about what you
http://bit.ly/xkHPnU
The page is 2Mb and takes a couple of minutes to load, Firefox gives
'slow script' prompt and picks up an error about '$.visitor is not a
function'
A request to ShowPersPromoLookup fails with 'Your browser sent a
request that this server could not understand'
But the map
but, i check geolocation feature today, this function doesn't work,,,
Which geolocation feature? There isn't one built into the Maps API
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send email to
@Rossko - I don't think that I can use the span. The div that contains the
map can change - it can be 500px , 1000px, 2000px and the span can't really
give me accurate results.
So you'd either have to do your calculation client-side, where you can
determine the current div size, or transmit
This works really good for some zoom levels - I can move around - cross the
dateline and I'll always get the right results. But when I really zoom out
like in the image that I've attached in my first post - you can see that we
have 2 datelines. My query should actually search for results
I don't understand the sense of this sentence: Converts the given map
bounds to a lat/lng span.
You give it a bounds object, it tells you the width of that bounds
in degrees. Example : from -10 to +30 is a span of 40
from +30 to -10 is a span of 320
I do not think it will give consistent
but when I'm zoomed out I can see the whole map of the world in front of
me, but the boundaries for east and west are stating -79 east and +134
west.
Example discussion from a few years back
http://groups.google.com/group/google-maps-api/browse_thread/thread/dca7b6c38883d0f3/5e85fd1efe956f82
However, if we'd known ahead of time then we would have been able to
update our firewall to allow access to the new Google servers and,
hopefully, prevented the outage we suffered this morning.
Why would your customers suffer from your firewall configuration?
I would have expected changes
but how do I add the CSS into the xml file where the contents are read
from?
How do you include HTML in it now?
description
![CDATA[
table cellpadding=1 cellspacing=1
tr
tdHAWAII/td
and so on.
How might you change that? It's only HTML after all, you'd use the
same
I'm using php/mysql So how can i do this , i need tutorial or
anything that demonstrate the implementation of this algorithm in php
mysql
http://www.google.com/search?q=php+mysql+dijkstra
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript
from my page atwww.meadowlarkco.com/regulationsmap2.html. How can I
dictate the window size that IE, firefox, etc. opens up with?
It's not a maps question. It's general HTML.
You can't dictate the size the user's browser first opens at.
This might help if you are opening a new window from a
I need get an api key for my develope! how can I get it?
You could start from the Developer's Guide, Obtaining an API Key
http://code.google.com/apis/maps/documentation/javascript/tutorial.html#api_key
--
You received this message because you are subscribed to the Google Groups
Google Maps
Attempting to access Google Maps from EPUB document.
Guessing you are not using the javascript API, your question might be
better directed at the Google Maps group
http://groups.google.com/group/Google-Maps
--
You received this message because you are subscribed to the Google Groups
Google
When I click on the Map/Address link it goes to a meaningless Google
page referencing my Post Office Box zip code. I REALLY want it to go
to my street address which is on my web page in two places.
Doesn't have anything to do with javascript maps API (the topic of
this group)
Doesn't seem to
http://www.nwkite.com/gmapstest.html
Zoom in or out and clusters appear.
I don't get a map at all in IE, probably because you load the
MarkerClusterer script before the API which it extends.
Suprisingly, I see some blue, some yellow clusters under FF browser.
--
You received this message
Is there a keyboard shortcut which one can implement when on a google maps
page so that you can select the map without clicking on it?
That would be a function of the webpage - shift focus to some
arbritary element on this page - and not of the map. You might look
outside the maps arena.
This
var image = new google.maps.MarkerImage(icon, null, null, null, new
google.maps.Size(32, 32));
The variable icon stores the path to the icon and the marker is shown
on the map, but instead of resizing the image to 32x32 it takes the
32x32 pixels from the upper left corner of the original
Please star the issue if you are having the same problem.
The problem is that you are not using the clusterer correctly.
Don't put your markers on the map yourself, as you want the clusterer
to manage them for you.
--
You received this message because you are subscribed to the Google Groups
The thing is that the reporter puts Kennedy Center into the geocode tag,
and he doesn't know lat/lng.
Given that there is more than one Kennedy Center in the whole world,
can you give any further clues for the geocoder? Note that the
geocoder is for converting addresses to lat/longs, it's not
KmlLayer will sanitise description content
http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html
I guess it is stripping out iframes as a possible hazard
There are client-side KML parsers that don't do that.
--
You received this message because you are subscribed to the Google
longitude/ latitude for this spot for instance the exact location of the
entrance of the CEPSR building in columbia university as opposed to the
back entrance on the 122nd street.
Is this in any way possible
Sure, hire a surveyor?
Or, depending on what you mean by exact, taking a GPS reading
BTW, I think 530 W. 120th St. is on the street side and not the campus side.
I wouldn't know, just quoting the official address
http://www.columbia.edu/about_columbia/map/addresses.html
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3
It took time to find that function to me (I dont remember the source). It
could certainly be added to the API set.
Why? Circle() exists already and has a getBounds() method
Is there a problem with that? (might not work well at the poles for
example, not much does in Mercator)
--
You received
Thanks for your help on this guys.
erm, was there a question?
It's not clear if you are expecting a gift of a fully-developed
application, or want some pointers on how to begin writing php, or
something else?
--
You received this message because you are subscribed to the Google Groups
Google
If I wanted to access the attribute value for PID, how would I do that
with the Google Maps JavaScript API.
The documentation for google.maps.KmlFeatureData suggests it only
gives the standard KML content of its choice, and gives you no access
to ExtendedData content. That's not too suprising.
I'm trying to figure out how to attach data to a marker object as a
property. This may be a problem since I don't think the marker object
contains a property for storing string data. Any ideas?
As with any other javascript object, you make one. You just need to
take care not have the name
I would recommend a look through some of the other Maps article too,
for further ideas on techniques
http://code.google.com/apis/maps/documentation/javascript/articles.html
I would think hard about giving users access to delete or modify
markers, even temporarily.
This is okay _provided_ they
My map is currently just in development but eventually it will be posted
publicly.
Then you'll also have the means, or will have to get the means, to
post your developing example publicly. After all, you want people to
spend time helping you, not spend time copy/pasting stuff to their own
I ended up using the title attribute of the Marker variable and it seems to
have worked.
I'd include that under 'unwise'. The title attribute is already used
for another purpose, not for holding your arbritary content; some
future version of the API might just start laundering your content or
This looks relevant re mode
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/14d3f620d600529c/09e6f6d233e3da75
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send email to
Got a question on the usage limit. How can we avoid hitting the API too
frequently? Currently, my application is such that each refresh constitute
a single hit on the API.
Change your application. Update without refresh.
I may need to store something offline in order to
avoid running into
google.maps.event.addListener(markerCluster, 'clusterclick',
function(cluster) {
if (map.getZoom() == 8) {
infowindowarray[i].open(map, cluster);
...
That defines a function to be run _when_ the event occurs.
Whatever your function is that includes that code ends, and local
variables in its
how long does it take to refresh if I change my xml file?
It's not documented, and may be variable. It seems to be some hours
usually.
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript API v3 group.
To post to this group, send email to
do I need to create an array of MarkerClusterer Objects and create an event
for each
That wouldn't help, each MC Object may contain one, none or many
clusters at any given view.
or is there a simpler way?
This thread for example explores having a single clusterclick listener
examine the
If these variables go out of scope, is there any way I can use the
variables that are outside the function?
Sure. You can have them persist in global scope, or, you can have
them captured by the magic of 'function closure' at the time you set
up the listener.
Your approach here is bit flawed,
(The panel contains html
table and one of its cells serves for displaying a map. The map jumps
out from the cell, and from the panel)
That's probably the root of your problem. Try putting your map in a
div with fixed width and height in pixels, to see if it is a sizing
issue.
--
You
I have
the data which is related to a particular cluster stored in an string
array.
I don't really understand what you mean by 'cluster' in this context.
MarkerClusterer manages your markers for you; you create a bunch of
markers and pass them to MC. MC then decides which markers are in
My polylines on the map now look pretty ugly because the lines are not
smoothened.
I can see smooth dashed curves in IE. Is your problem browser
dependent, or am I looking at the wrong thing?
--
You received this message because you are subscribed to the Google Groups
Google Maps JavaScript
Have I missed something else?
Don't think so, there's no option to do that
Is it something that perhaps
could be added to the API?
You can but ask, sounds useful. Create a formal enhancement request
at
http://code.google.com/p/gmaps-api-issues/
I found an existing one
Is there any way to draw a dotted/ dashed line between two positions on
google map
Yes, but you'd need to write code to do that.
There's a demo for v2 API here that you could adapt
http://www.bdcc.co.uk/Gmaps/BdccGmapBits.htm
--
You received this message because you are subscribed to the
http://www.sleeping-out.co.za/FindLocation.htm
Your resetGeo() function calls initialize() which will create a
completely new map and geocoder objects. I'm not sure what's going
wrong, perhaps there is a reference captured to the old map, but I
suspect all you really want to do is clear and
I didn't completely understand up to the KML complexity limits - did you
mean that I don't use clustering and could face a problem if KML markers
get too many?
Nothing to do with clustering, it is the source KML data.
KmlLayer is a shared service and limited to prevent hogging.
The limits are
infowindow = new google.maps.InfoWindow({
content: html
That's an undeclared variable by any 'var'
That means there will be only one global 'infowindow' shared among all
markers, with its content set to the last one created.
If you re-declare the infowindow locally using var each time your
Probably the most common way to hide a coordinate is to obfuscate it. You
can easily do this by randomizing the last couple digits of the
coordinates.
How effective that might be depends on the circumstance; not everyone
lives in a city, a mile-wide circle can still contain only one
dwelling
https://lh4.googleusercontent.com/-jTGKNzLyq_U/TyohAGBJPiI/AA...
anybody knows how to make a polygon with this?
It's a picture. Can't make a polygon out of that.
If you want to make a polygon out of the markers shown, you would need
access to the location data for those markers. Do
Looks like I was wrong, KmlLayer seems to be stripping that out.
The reference isn't clear on this, but suggests that name is
expected to be brief text only
http://code.google.com/apis/kml/documentation/kmlreference.html#name
whereas description
So, Rossko, if I create a map without a custom style, but I add the 8.000
markers, each one with his own icon (png's hosted in a server), that's not
using the API? Lol, I feel shy.
It depends whether *you* choose to use the API or not. You mentioned
'My Places', which is essentially a Google
1 - 100 of 2113 matches
Mail list logo