[Google Maps API v3] Re: ImageMapType issue?

2011-11-08 Thread Map Guy
Thank you for your reply. Good catch. I added "tileSize: new google.maps.Size(256, 256)," But I still seem to be running into the same issue. Any ideas? Complete text: Google Maps JavaScript API v3 Example: Styled MapTypes http://code.google.com/apis/maps/documentation/javascript/ examples/d

[Google Maps API v3] Re: Aligning a google map canvas

2011-11-08 Thread Martin™
Is this an API or a CSS question? Sounds like you want to brush up on your CSS to me, here's a useful link: http://www.barelyfitz.com/screencast/html-training/css/positioning/ Martin. On Nov 8, 4:26 pm, munji wrote: > By default every time i load my map, it always aligns itself to the > left

[Google Maps API v3] Re: ImageMapType issue?

2011-11-08 Thread Martin™
Hi. http://code.google.com/apis/maps/documentation/javascript/maptypes.html#ImageMapTypes Looks like you've not defined a (required) 'tileSize' property in your options. Martin. On Nov 9, 6:20 am, Map Guy wrote: > Starting with this example: > > http://code.google.com/apis/maps/documentation/

[Google Maps API v3] ImageMapType issue?

2011-11-08 Thread Map Guy
Starting with this example: http://code.google.com/apis/maps/documentation/javascript/examples/maptype-styled-simple.html Changing: var jayzMapType = new google.maps.StyledMapType(stylez, styledMapOptions); To var jayzMapType = new google.maps.ImageMapType(styledMapOptions); Where: (ge

[Google Maps API v3] Re: Set up custom image tiles

2011-11-08 Thread John Coryat
Try watching this: http://www.*youtube*.com/watch?v=IYqfT9i1las -John Coryat -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.

[Google Maps API v3] Set up custom image tiles

2011-11-08 Thread laura17
I've read through the documentation and examples but as my coding knowledge is quite limited I'm just not sure how to set up my custom tile images .. I'm using the Planetary Map types (http://gmaps-samples-v3.googlecode.com/svn/trunk/planetary-maptypes/planetary-maptypes.html) as an example bu

[Google Maps API v3] Re: which version to use and how do I add a date

2011-11-08 Thread geocode...@gmail.com
On Nov 8, 4:43 pm, Paul wrote: > Hi, > I have two items that I need assistance with (assuming you are > willing) > I have a map that is based on a map shamelessly taken fromhttp://wolfpil.de > called “Toggle-Cats” > I have adapted it with some css to fill the screen and filled it with > the type o

[Google Maps API v3] Re: which version to use and how do I add a date

2011-11-08 Thread Paul
My apologies, the hosting company has just put the account "under review", this has happened within 10 mins of adding the map link. I assume there is some issue with adding the hosting link or maybe my hosting company doesn't like links from this forum. So, I apologise if you can't see the map link

[Google Maps API v3] which version to use and how do I add a date

2011-11-08 Thread Paul
Hi, I have two items that I need assistance with (assuming you are willing) I have a map that is based on a map shamelessly taken from http://wolfpil.de called “Toggle-Cats” I have adapted it with some css to fill the screen and filled it with the type of data I will need. The map is here http://ma

[Google Maps API v3] Re: Loading Google Maps initialize() script from a seperate file

2011-11-08 Thread Rossko
> Is there anything that I'm doing wrong? There must be. Difficult to guess what though. Perhaps when you use window.onload = load you don't have a load() function? (You did mention initialize() in your post title) Perhaps some other script comes along and overwrites your window.onload? -- Y

[Google Maps API v3] Re: Listing zoom

2011-11-08 Thread davie
Hi Am There is always a problem when you add code you don't understand. The switch(visibleMarkersCount) code would probably work if no marker returned in the XML But as the XML always returned a marker (actual or no record) this function was not suitable. It is always advisable to try and understa

[Google Maps API v3] Re: style="display: none" now causing errors

2011-11-08 Thread geocode...@gmail.com
On Nov 8, 7:44 am, GGarry wrote: > I have my maps in a hidden div that allows users to toogle "show map" > and "hide map" it was working fine till a few days ago, now I am > getting a javascript error in internet explorer even though it still > works. > > Webpage error details > > User Agent:

Re: [Google Maps API v3] Re: Displaying the directions result

2011-11-08 Thread Daniel Geržo
On 8.11.2011 14:34, MymsMan wrote: Sorry if I confused you by talking about the directions changed event. I was trying to say the event is useless because the routeindex is not set until setDirections(response) has completed. You just need to call setShortestRoute After setDirections OK, that

[Google Maps API v3] Re: mouse scroll is zooming in and scrolling down page

2011-11-08 Thread civilsurfer
Thanks, hopefully it will be fixed soon. On Nov 7, 10:39 pm, Martin™ wrote: > I see the same behaviour with the latest Firefox on Window 7 64 bit. > > There's an old issue here: > > http://code.google.com/p/gmaps-api-issues/issues/detail?id=1605&can=1... > > That's marked as fixed and someone has

[Google Maps API v3] Aligning a google map canvas

2011-11-08 Thread munji
By default every time i load my map, it always aligns itself to the left no matter how small the map is How can center the map so that it appears in the middle of the browser or even have fun with the canvas such that it appears to the left -- You received this message because you are subscri

[Google Maps API v3] Re: textarea inside overlay - highlight pans map

2011-11-08 Thread Kim Andersen
Hi Tarun Did you manage to get something working on this topic? Im in the same alley and would appreciate your feedback on this. Thanks. Kim -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web vi

[Google Maps API v3] style="display: none" now causing errors

2011-11-08 Thread GGarry
I have my maps in a hidden div that allows users to toogle "show map" and "hide map" it was working fine till a few days ago, now I am getting a javascript error in internet explorer even though it still works. Webpage error details User Agent: . Message: Invalid argument. Line: 1 Char: 348

[Google Maps API v3] Re: Combine my "You are Here" map with custom map with external XML

2011-11-08 Thread Birdwaves
Thanks for the tips. I do have these things working in separate maps. I just can't seem to successfully collate them into one map. On Oct 25, 8:41 pm, "jufemaiz:joel" wrote: > For KML overlays, might want to look at Google's Fusion overlay. > > WRT "where am I" (aka geolocation) might > tryhttp

[Google Maps API v3] Loading Google Maps initialize() script from a seperate file

2011-11-08 Thread Stacey
Hey guys, Having a problem with working with the Google Maps API. I'm currently developing an application on a site that doesn't support inline Javascript. Therefore, I'm trying to load the script (which loads the map into the webpage) from a separate file called map.js. However, when I do thi

[Google Maps API v3] Polyline overlay Z-order.

2011-11-08 Thread iprdn
Hello. By default polyline overlays draws above all map features. Is it possible, to put polyline overlay under text labels? I saw the traffic layer on google maps, it renders map labels above the traffic lines. I need to have same effect. http://code.google.com/apis/maps/documentation/javascript/e

[Google Maps API v3] question on moving markers

2011-11-08 Thread rlk27
I inherited a code that was written in V2 and upgrade to V3. there are marker that are vehicles so, we will have to move the marker with new position info. Questions 1. In V2, to reposition the marker, the old one is removed and new marker is created. i see that setPosition() in Marker obj

[Google Maps API v3] Re: Google Maps v3. Infowindow with button

2011-11-08 Thread ferquesada
Thanks, I got with another approach. With some help, this code works... google.maps.event.addListener(infoWindow, 'domready', function (e) { //attach the click event to the button. document.forms.button.onclick = function (e) { e.preventDefault(); //cance

[Google Maps API v3] Re: marker and zIndex

2011-11-08 Thread rlk27
I tired this already but did not work in my case thsi gives negative number. As I have many types of markers with each one with their zindex. (100,200,300, 700) so, I used positive 10. Math.round(marker.getPosition().lat()*10)<<5 for the marker and marker.getZIndex() + 1 for label

[Google Maps API v3] Re: Listing zoom

2011-11-08 Thread Am
Ok, I figured it out. I needed to add if (map.getZoom() > 16) {// Change max/min zoom here //alert(); map.setZoom(16); } after map.fitBounds(bounds); -- You received this message because you are subscribed to the Google Groups "Google Maps J

Re: [Google Maps API v3] Re: lat lon every 1 km in direction from x to y location

2011-11-08 Thread Narender Sharma
Thanks larry it really resolved my problem. On Sun, Nov 6, 2011 at 12:00 PM, geocode...@gmail.com wrote: > On Nov 5, 12:34 pm, Narender wrote: > > I want to show direction from x to y and want to plot a marker every 1 > > km so can anyone tell me how can we do this > > You mean something like

[Google Maps API v3] Re: Infobubble 'jumping' out of view

2011-11-08 Thread geocode...@gmail.com
On Nov 8, 6:44 am, Andrew Vrydaghs wrote: > I'm not a JavaScript expert, but the very last thing in my code is the info > window. There is no marker onload event to listen for, so I could use > advice as to *why* my info window is loading before the marker, and how to > fix it. Sequence: 1. you c

[Google Maps API v3] Re: marker and zIndex

2011-11-08 Thread geocode...@gmail.com
On Nov 8, 7:06 am, rlk27 wrote: > Is there any calculation to get the zIndex based on the coordinates?  Any > example or link would be appreciated. I do it in most of my maps. See these examples ported to v3 from Mike Williams' v2 tutorial: http://www.geocodezip.com/v3_MW_example_map1.html http

[Google Maps API v3] Re: Custom overlay disappears at certain zoom level

2011-11-08 Thread Rossko
> i have the very same problem, any suggestions? Where is your demo, perhaps it will offer more insight? Only going wrong on mac/safari too? -- 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 g

[Google Maps API v3] Re: Custom overlay disappears at certain zoom level

2011-11-08 Thread en4ce
i have the very same problem, any suggestions? On 20 Sep., 01:59, Boris Rarden wrote: > It is still happening, I don't know how to fix this, and it shouldn't be > hapenning -- it is a bug. Here's another demonstration: > > http://random.hypervolume.com/map_bug2.html -- You received this message

[Google Maps API v3] Re: marker and zIndex

2011-11-08 Thread rlk27
Is there any calculation to get the zIndex based on the coordinates? Any example or link would be appreciated. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com

[Google Maps API v3] Re: Infobubble 'jumping' out of view

2011-11-08 Thread Andrew Vrydaghs
I'm not a JavaScript expert, but the very last thing in my code is the info window. There is no marker onload event to listen for, so I could use advice as to *why* my info window is loading before the marker, and how to fix it. -- You received this message because you are subscribed to the Go

[Google Maps API v3] Re: marker and zIndex

2011-11-08 Thread geocode...@gmail.com
On Nov 8, 6:36 am, rlk27 wrote: > I create multiple markers with label overlay on the top.  I set each marker > with ZIndex value 700 and label with marker's zIndex+1.  it works fine.  I > do have mouseover, out, click event handlers. > > THe markers are redrawn (deleted and created again) based o

[Google Maps API v3] marker and zIndex

2011-11-08 Thread rlk27
I create multiple markers with label overlay on the top. I set each marker with ZIndex value 700 and label with marker's zIndex+1. it works fine. I do have mouseover, out, click event handlers. THe markers are redrawn (deleted and created again) based on the latlag change (moves). when 2 o

[Google Maps API v3] Re: overlayView draw function give null object error

2011-11-08 Thread geocode...@gmail.com
On Nov 8, 5:44 am, rlk27 wrote: > never mind..found the problem. I'm glad you fixed it. As you didn't provide a link it would have been really hard for others to help you. But you could help others that have similar issues by posting a little more information than "found the problem", like perh

[Google Maps API v3] Re: overlayView draw function give null object error

2011-11-08 Thread rlk27
never mind..found the problem. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/nNE9OZpuqUYJ. To post to this group, send email t

[Google Maps API v3] Re: Displaying the directions result

2011-11-08 Thread MymsMan
Sorry if I confused you by talking about the directions changed event. I was trying to say the event is useless because the routeindex is not set until setDirections(response) has completed. You just need to call setShortestRoute After setDirections directionsService.route(request, function(

[Google Maps API v3] Re: Modify Map (add data) after initialization

2011-11-08 Thread Kasper
I tried several things but didn't get it to work. Searching on the forum didnt help a lot either, so I tried a bit more... and got it to work with setPosition(new google.maps.LatLng(latitudefloat,longitudefloat)) yay :P -- You received this message because you are subscribed to the Google Group

[Google Maps API v3] Re: I cannot use any function implemented within MarkerClusterer object

2011-11-08 Thread Rossko
> I found that I declared MarkerClusterer variable as a global one at the > 21st line of my codes, which is >          var markerCluster = null; Yes, but function initialize(){ ... var markerCluster = new MarkerClusterer(map,markers); creates another 'markerCluster' local to i

[Google Maps API v3] Re: [Markerclusterer] I cannot use any function implemented within MarkerClusterer object

2011-11-08 Thread Junsuk Bang
First of all, thank you for your response. I found that I declared MarkerClusterer variable as a global one at the 21st line of my codes, which is var markerCluster = null; I have already got this idea from the example of markerclusterer. Would you please check it? http://www.sphinfo

[Google Maps API v3] Re: Modify Map (add data) after initialization

2011-11-08 Thread Rossko
> Do I perhaps have to use setPosition(new google.maps.LatLng(51.6063,4.7265)); > ? Having tried the other things, why don't you try that? Or search this group for 'setPosition' and see how other people use it? -- You received this message because you are subscribed to the Google Groups "Googl

Re: [Google Maps API v3] Re: Displaying the directions result

2011-11-08 Thread Daniel Gerzo
On Mon, 7 Nov 2011 15:18:04 -0800 (PST), JKurtock wrote: Aren't you calling setRouteIndex BEFORE you load the response into the directionsDisplay? Just from your snippet, that's where I would look first. Of course, it could be more sure if you had posted a link to your non- working map

[Google Maps API v3] Re: Modify Map (add data) after initialization

2011-11-08 Thread Kasper
Ah cool, that fixed it! Now, the position is giving problems...: I now have tried: marker6.setPosition('51.6063,4.7265'); > and marker6.setPosition(51.6063,4.7265); > Do I perhaps have to use setPosition(new google.maps.LatLng(51.6063,4.7265)); ? -- You received this message because you are