I'm trying to create an URL with the coordinates of my map in order to
create an unique link to share ...
So, I create this link with getBounds which I put in my URL.
I get these coordinates when a user put this URL in his browser.
I saw that LatLngBounds class contains a "toUrlValue" method, b
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/99c9d3499ae65663#
2011/5/17 pec76
> Hello,
>
> I am currently laoding a streeview panorama with the following code:
>
> if (document.getElementById('gf_streetView')){
>var panorama = new
> google.maps.StreetViewPan
See this issue for an explanation:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3117
--
http://twitter.com/broady
--
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-j
On Tue, May 17, 2011 at 12:59 PM, Quang Nguyen wrote:
> Please see below screenshot for what I got
> http://www.phamnguyen.org/error.png
>
This is the intended result!
--
http://twitter.com/broady
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaS
I can't reproduce this error. What browser and operating system are you
using?
On Tue, May 3, 2011 at 7:36 PM, sambit mishra
wrote:
> I used this Google Map v3 in my website.
> The link to this is http://203.129.204.134/abv_website/
>
> All is working fine but i am getting this error message :-
>
this is the solution
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/517acda908615d9b
its the ver...chnage it to 3.3
--
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 t
this is the answer...need to change the ver number
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/517acda908615d9b
On May 18, 12:51 am, ben wrote:
> im having a problem when i drag the mapgetting Error in loading
> DLL ...main.js
>
> Load this link on IE and drag
Oh, you'll also want to use the computeLength function:
http://code.google.com/apis/maps/documentation/javascript/reference.html#spherical
On Wed, May 18, 2011 at 3:16 PM, Chris Broadfoot wrote:
> You can calculate this using Projection:
>
> http://code.google.com/apis/maps/documentation/javascr
You can calculate this using Projection:
http://code.google.com/apis/maps/documentation/javascript/reference.html#Projection
A tile at zoom level 0 spans twice the length of a tile at zoom level 1.
On Wed, May 18, 2011 at 1:33 AM, haarts wrote:
> Dear all,
>
> I can't seem to find how large (in
im having a problem when i drag the mapgetting Error in loading
DLL ...main.js
Load this link on IE and drag the map a little bit...you'll get the
error in no timethere after the map is gone but the markers still
shows up
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/marke
On May 17, 7:37 pm, etheriau wrote:
> Hi--
>
> We have created custom overlay for a custom marker implementation to our
> application and they seem to work great -- essentially we put on an HTML div
> which accepts onmouseover and click events.
>
> We've recently upgraded to 3.4 and it seems that
Hi--
We have created custom overlay for a custom marker implementation to our
application and they seem to work great -- essentially we put on an HTML div
which accepts onmouseover and click events.
We've recently upgraded to 3.4 and it seems that when there is an actual
GoogleMarker on the sa
> I tried the following but the variable thread is undefined.
Not in that snippet of code it isn't. Where are you trying to use it,
in createMarker() perhaps? thread is not being passed to
createMarker()
--
You received this message because you are subscribed to the Google Groups
"Google Map
> I was wondering if its possible to identify which polygon was clicked
> on the overlapping polygons.
If we can't tell which one the user intended to click, I'm not sure
how the code could. In Google Earth you could give them some
altitude, but maps are flat so that won't work here.
> In my ap
I tried the following but the variable thread is undefined.
for (var i = 0; i < markers.length; i++) {
var latlng = new
google.maps.LatLng(parseFloat(markers[i].getAttribute("lat")),
parseFloat(markers[i].getAttribute("lng")));
var thread = markers[i].getAttribute("thread");
var marker = creat
> What changes do I need to make to this code?
>
> for (var i = 0; i < markers.length; i++) {
> var latlng = new
> google.maps.LatLng(parseFloat(markers[i].getAttribute("lat")),
There's a fairly obvious bit of code there that gets the string
content of the attribute 'lat' from your array of marke
On May 17, 2:49 pm, Southbayriders wrote:
> Hi Larry,
>
> Thank you for your reply. The moredata.xml file I have looks like
> this:
>
>
>
>
>
> The thread attribute (I thought it was called an element) has been
> added as
> you can see. I've tried making changes to the code to parse this
> addi
> The cursor is only changed to anything if the map is draggable. If it
> is not draggable, the cursor is the default arrow everywhere.
I can see that behaviour in FF, but in IE it works as expected with
cursor change and tooltip over the marker. That suggests a link to
the different rendering te
Hi Larry,
Thank you for your reply. The moredata.xml file I have looks like
this:
The thread attribute (I thought it was called an element) has been
added as
you can see. I've tried making changes to the code to parse this
additional attribute but I have not been successful.
What changes do
Hi Larry,
Thank you for your reply. The moredata.xml file I have looks like
this:
The thread attribute (I thought it was called an element) has been
added as
you can see. I've tried making changes to the code to parse this
additional attribute but I have not been successful.
What changes do
Hi Larry,
Thank you for your reply. The moredata.xml file I have looks like
this:
The thread attribute (I thought it was an element) has been added as
you can see. I've tried making changes to the code to parse this
additional attribute but I have not been successful.
What changes do I need to
> My content is dynamic - the information is read from the database and
> that is why I never know how high it should be.
If you don't know, neither can the API
> In my case the problem is that after the infowindow is build I try to
> change it's content.
Yes, I think your infoWindowToolbarActio
On May 17, 1:28 pm, Southbayriders wrote:
> I would like to modify this map:
>
> http://gmaps-samples-v3.googlecode.com/svn/trunk/xmlparsing/downloadu...
>
> How would I parse an additional element that I have added to my
> moredata.xml file?
An element or an attribute?
(note: this is not a mappi
Still anybody here? It's still broken. :-(
The cursor is only changed to anything if the map is draggable. If it
is not draggable, the cursor is the default arrow everywhere.
On 3 Apr., 11:48, Yves wrote:
> Okay, the cursor is now changed - as long as the map is draggable. I
> have updated my on
I would like to modify this map:
http://gmaps-samples-v3.googlecode.com/svn/trunk/xmlparsing/downloadurl_info.html
How would I parse an additional element that I have added to my
moredata.xml file?
The code I think I need to modify is located in this section:
for (var i = 0; i < markers.length;
> Is there anything that I have to do once I change the dimensions of
> the map container?
Yes, trigger a map resize event
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map
'Events', 'resize'
--
You received this message because you are subscribed to the Google Groups
Hi,
I was wondering if its possible to identify which polygon was clicked
on the overlapping polygons. In my application I generate KML file
which has collection of zip codes' coordinates. Each zip code is a
placemark in the kml and has its own style setting with some
information to popup when cli
> proper link for the neon markershttp://www.gunghoguides.com
I don't see any markers at all in FF2.
Your parseSponsors / createMarker functions use strings instead of
numbers for marker lat/longs, try putting parseFloat in there
--
You received this message because you are subscribed to the Go
Hi @ll,
Please look at the following image:
http://compojoom.com/images/mapGreySpace.PNG
I have a function to change the size of the map. Basically it sets the
container of the map to fixed position with coordination top: 0, left:
0; height and width from 100%.
And it works :) The map gets all th
>Try giving your content some sizes.
My content is dynamic - the information is read from the database and
that is why I never know how high it should be.
In my case the problem is that after the infowindow is build I try to
change it's content. So what I want to try is to somehow tell the
infowi
Hi Keith,
Can you help to add the my location feature on onload of this code that I
have
var geocoder;
var map;
var marker;
function initialize(){
//MAP
var latlng = new google.maps.LatLng(41.659,-4.714);
var options = {
zoom: 16,
center: latlng,
mapTypeId: google.maps.MapTy
I would like to modify this map:
http://gmaps-samples-v3.googlecode.com/svn/trunk/xmlparsing/downloadurl_info.html
How would I parse an additional element that I have added to my
moredata.xml file?
The code I think I need to modify is located in this section:
for (var i = 0; i < markers.length;
Hi all,
We recently pushed a new version of the Maps API. The changelog for this
release is copied below. See the full changelog here:
http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Changelog
Resolved issues:
* Fixed: Streetview rendering issue in IE7 (Issue 3272)
Noticeabl
proper link for the neon markers http://www.gunghoguides.com
thank you.
On May 17, 3:24 pm, rich wrote:
> HI Google Maps API people. First I want to say thanks you all have
> been a wealth of information for me.
>
> I'm experiencing some odd bugs with the MarkerManager. Sometimes on
> the first
> http://www.weathertrends360.com/Maps/Interactive
It takes 3 minutes to load and render in FF2, maybe IE6 just gets
bored?
I do see the problem in IE6, don't know whats behind it but I would
guess it is something to do with poor simulutaneous opacity +
transparency handling in IE. A clue is the
HI Google Maps API people. First I want to say thanks you all have
been a wealth of information for me.
I'm experiencing some odd bugs with the MarkerManager. Sometimes on
the first time you load the map, markers are neon green when they
should not be. See what I'm talking about: www.gunghoguides.
> Any ideas?
What's the question? Why aren't existing infowindows closed when you
open a new one?
You have no code in place to make that happen.
Already shown you
http://www.google.com/url?sa=D&q=http://gmaps-samples-v3.googlecode.com/svn/trunk/single-infowindow/single-infowindow.html
which has
Hey Rossko,
Holy crap I am sorry, I totally thought I had included it in the
original post; the link is even still in my clipboard from when I
copied it.
http://www.weathertrends360.com/Maps/Interactive
Wow, super sorry. I suck again.
As for the IE6 not being supported in v3GOOD. I'd rath
> As far as I can see each infowindow has a specific height and width,
> which is being calculated from the API on the fly.
That's right. In order to get that calculation correct, the API needs
to know the size of all the elements that make it up. Try giving your
content some sizes. Things that
We feel the developer should be able to handle this themselves - it is
something that is relatively easy to do and it is good practice to manage
your own objects anyway.
It also gives them more control over the API rather than having helper
functions everywhere which everyone is not going to use.
On May 17, 9:33 am, Web-ID wrote:
> So, I use a bad method
>
> How can I fix bounds and no the coordinates of the viewport ?
The bounds are quanized by the zoom level (which is an integer zoom
level 2 is 2x zoom level 1). You can't necessarily get precisely the
bounds you want. What are yo
Any idea why this method was not implemented in V3 ?
On 17 mai, 17:54, "geocode...@gmail.com" wrote:
> On May 17, 8:30 am, bertaudmarc wrote:
>
> > When, in the context of an application and for various reasons, the
> > overlays cannot be recorded in arrays, how to simulate a
> > map.clearOverla
So, I use a bad method
How can I fix bounds and no the coordinates of the viewport ?
Thanks for your response Larry !
--
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
Hi Lary , im very friendly with HTMl/DHTMl + PHP + CSS
but im poory in JS really ! i'll learn it this summer .
can you help me?
i want when i click for the first time (ex : hospital ) i'll see
hospitals and when i click on schools i'll see schools but i'll not
see hospitals only schools .
On May 17
Hey Radina,
Thank you for your reply! Unfortunately removing the overflow:auto
doesn't do it for me.
As far as I can see each infowindow has a specific height and width,
which is being calculated from the API on the fly. So when I remove
the overflow - I see my content, but it goes outside of the
On May 17, 9:04 am, Web-ID wrote:
> Hi!
>
> I have a problem with the two methods fitBounds and getBounds ...
>
> Look at this example :
>
> var map = new google.maps.Map(document.getElementById('map'), {
> zoom: 10,
> mapTypeId: google.maps.MapTypeId.ROADMAP
>
> });
>
> va
Hello Rossko,
Your tips were very helpful to me thanks
I had only a limited time and by the time I had to set aside (sadly
some of your suggestions).
"It is slow, and if the geocoder Makes A Mistake"
As for the error on the discovery of the address I fix enabling the
operator can change the ad
Any ideas?
--
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, send email to
google-maps-js-api-v3+unsubscr...@googlegroup
Hi!
I have a problem with the two methods fitBounds and getBounds ...
Look at this example :
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 10,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
var ne = new google.maps.LatLng(49.018140928715304, 2.57895
On May 17, 8:30 am, bertaudmarc wrote:
> When, in the context of an application and for various reasons, the
> overlays cannot be recorded in arrays, how to simulate a
> map.clearOverlays() ?
> call setMap(null) in a loop obliges to maintain references for each
> kind of overlays (marker,icon,poly
I noticed that the Groupon site has an embedded Google map that
functions properly in Mobile Safari. You can still click on the
marker even after you've scrolled up and down on the page, and the
marker reacts normally. Here is the link to the page I saw this on:
http://www.groupon.com/deals/pano
On May 17, 8:20 am, Hamza wrote:
> i want instead of checkbox i want use images , so when i click on
> theater image i'll see the markers of this category ..
> thanks for your help
And what problem are you having doing that? That is not a mapping
question, but a HTML/DHTML question.
Change the
On May 17, 8:33 am, haarts wrote:
> Dear all,
>
> I can't seem to find how large (in (kilo)meters) a standard 256x256
> pixel tile is when using an overlay. I understand this related to zoom
> level, but say zoomlevel 7 or 14? How big is the square covered by one
> tile? Forgive me if the answer i
For those that do not have their own websites for hosting KML files,
then I recommend using Google Sites.
Works great.
--
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@g
When, in the context of an application and for various reasons, the
overlays cannot be recorded in arrays, how to simulate a
map.clearOverlays() ?
call setMap(null) in a loop obliges to maintain references for each
kind of overlays (marker,icon,polygon, etc...) !
--
You received this message beca
i want instead of checkbox i want use images , so when i click on
theater image i'll see the markers of this category ..
thanks for your help
On May 16, 12:40 pm, Rossko wrote:
> > i have a small problem , i want set markers in groups so i can hide
> > or show them when i click in an icon .
>
>
I'm developing a maps application for the iPad, and today I was
intermittently unable to connect to maps-api-ssl.google.com over 3G on
the iPad, making the map in my application not show completely.
When I load
https://maps-api-ssl.google.com/maps/api/js?sensor=false
from my desktop, I am presente
Dear all,
I can't seem to find how large (in (kilo)meters) a standard 256x256
pixel tile is when using an overlay. I understand this related to zoom
level, but say zoomlevel 7 or 14? How big is the square covered by one
tile? Forgive me if the answer is obvious, it's not to me.
With kind regards,
Does any one know to upload kml files for testing
--
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, send email to
google
The site is magically working this morning...no changes to the
code...all the KMLs load and quickly to.
Thanks internet Gods!
On May 17, 8:44 am, Joseph Elfelt wrote:
> You can use my app (Gmap4) and test any kml/kmz file yourself (plus
> some other file formats)
>
> Gmap4 is a general purpose m
On 17 May 2011 15:56, Rossko wrote:
>
> Take a pair of coordinates representing either side of the road, and
> calculate the distance inbetween.
Don't try to do that on a map, though. Maps are representations of
reality, and the depicted width of a road varies with scale. If you
can't actually vi
thanks... it works
--
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, send email to
google-maps-js-api-v3+unsubscr...@goo
> I am interested in calculating the width of a street given geo-coordinates.
> The street width how much wide is the road.
Take a pair of coordinates representing either side of the road, and
calculate the distance inbetween.
There is no Google service to supply that information.
--
You receiv
Hi all,
This is my first time to use google maps and I am having problems with
changing the example to suit my needs. This is the example I am working
with
http://code.google.com/apis/maps/articles/phpsqlajax.html
My page displays 5 mysql rows per page, I have this code working and
formatte
On 17 May 2011 15:30, Raju M wrote:
> thanks..
>
> in that handler file I read the kml file and write output as xml. but It is
> not loading on map :(
>
> base_layer = new
> google.maps.KmlLayer('http://localhost:41169/map/map/readKMLs.ashx?query=havering_boundary');
> // this is not working
Technically, IE6 is not supported by API v3. The maps usually do work
though.
If you want some help with your impemlentation, you may have to follow
the post guidelines and provide a link for folk to work with.
If you want a blind guess, look carefully at what size your map div
may or may not ha
You can use my app (Gmap4) and test any kml/kmz file yourself (plus
some other file formats)
Gmap4 is a general purpose map viewer.
It can display any valid KML file that is (1) online, (2) does not
exceed the size limits imposed by Google and (3) has a proper path.
By "proper path" I mean no spa
thanks..
in that handler file I read the kml file and write output as xml. but It is
not loading on map :(
base_layer = new
google.maps.KmlLayer('http://localhost:41169/map/map/readKMLs.ashx?query=havering_boundary');
// this is not working
//base_layer = new
google.maps.KmlLayer('
I seem to be having a very strange issue w/IE6 - who would've thought
that would ever happen - where the satellite basemap does not load
when the map is initialized; the borders and labels do load though.
If I change:
mapTypeId: google.maps.MapTypeId.HYBRID
TO
mapTypeId: google.maps.MapTypeId.RO
No.
The URL must be accessible from the public internet. The KML is
downlaoded by Googles server, and compressed to be sent to the
browser.
There are however altnative KML parsers. ones that parse KML in
browser, and so can only access the current domain (even if that is
localhost) (eg geoxml3)
Joseph thanks for testing that out. Does the equestrian kml pull up
fine in your site? http://daviscountyutah.gov/trails/trails_equestrian.kml
That was the one that wouldn't even show up for me.
On May 17, 6:23 am, Joseph Elfelt wrote:
> I tried to use my map viewer to display your file
> trails_
Is that possible to add KML layers form urls like this
http://localhost:41169/map/readKMLs.ashx?query=showboundary
--
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@goog
Hello All,
I am interested in calculating the width of a street given geo-coordinates.
The street width how much wide is the road.
Anyone has an idea, given we know the geo-coordinates (lat. and long)
Thanks and regards,
-Gautam
--
You received this message because you are subscribed to the
I tried to use my map viewer to display your file
trails_proposed4.kml by reading that file from your server.
http://www.mappingsupport.com/p/gmap4.php?q=http://daviscountyutah.gov/trails/trails_proposed4.kml
The map failed to display.
I then loaded that kml file onto my server and the map displa
> Can you give me some suggestions?
Yes, don't geocode your store addresses every time the page is
viewed. It is slow, and if the geocoder makes a mistake (it's not
perfect) you cannot fix the error. I'm sure the stores don't move
around much.
Gecoding is asynchronous ; your 1000mS delay is a kl
Hello Rossko,
Thank you for your reply,
I looked at your link but the guide that I've provided does not
resolve exactly what to do
I thought, however, to calculate how many miles each store compared to
it has been selected through this function that I found:
InitDistances function () {
Start
> Practically I have in a MS SQL 2005 a list of addresses of shops, and I
> need to know, based on a chosen shop in a radius of 30 km if there are other
> stores in the same area.
Don't do that in javascript at all.
See
http://code.google.com/apis/maps/articles/phpsqlsearch_v3.html
for an SQL b
Hello everyone,
Start by saying that I don't speak English very well and I am a neophyte on
the V3 APIGoogle Javascript :)
Let me know how I can do to make a search of addresses within a radius per
kilometer using the Google Geocoder, without having the coordinates of each
point to be searche
> About the demo link, I got from google map api V3 docs
> pagehttp://code.google.com/apis/maps/documentation/javascript/examples/ma...
>
> It doesn't work for me in Firefox, IE, Chrome, Opera / Windows;
It works for me, and the picture of your 'error' is what exactly what
I see as well.
If you
Wonderful !!
Shame on me, I should have been using a javascript debugger. Now the script
works and can even tell whether the visitor was wrong about the origin
address, the destination address or if the driving distance can not be
calculated, you can try it. I'll post it asap for the community. How
or you can rely on raw power and just use regular markers if you know
all the users has some HP computers :-)
If using one of the new browsers (firefox v4 for example) and a quick
computer C2d or better its not a big problem with a 1000+ markers.
Tried one with my homecomputer with Phenom 6core pr
81 matches
Mail list logo