[Google Maps API v3] Always Show Transit Lines

2011-11-07 Thread Kasper
Is it possible to always show the railroad elements when using the google maps api? Now they only show at zoom level 11. I currently have this as my options for the transit lines, but I couldn't find an option to make them always visible: *{featureType: transit.line,stylers: [{ visibility: on

[Google Maps API v3] Re: problem with getBounds()

2011-11-07 Thread DiTieM
Have you tried this? (from Rossko thread) The bounds is not calculated until the map is fully initialized or updated. The bounds is only available asynchronously after a call to setCenter or setZoom. You should listen to the 'bounds_changed' event on the map before calling getBounds(). You

[Google Maps API v3] Re: Make custom routes

2011-11-07 Thread Vasile Cotovanu
On Sunday, October 30, 2011 5:01:59 PM UTC+1, Kasper wrote: There are just a few things bothering me though: -How did you select the polylines you needed for determining the positions? That's done in advance, server-side, check the AJAX feed with vehicle data that is explained here

[Google Maps API v3] Re: Transaction limits and associated costs

2011-11-07 Thread Rossko
Hope you can come up with something realistic... Clearly Google think they already have, and it is already in place. One way to encourage re-think is to provide a concrete alternative. We don't have access to the numbers (users, hits, etc.) to see how a suggestion pans out, but if a suggestion

[Google Maps API v3] Re: How to embed google map in SVG document

2011-11-07 Thread davie
Hi You will have to be more specific about what you mean by a SVG document As I said SVG is a subset XML Google maps is designed to be viewed on a browser (including static maps) SVG was designed to be viewed in a browser The simplest way to show a Google Map in a SVG file(xxx.svg[an XML file])

Re: [Google Maps API v3] Re: How to embed google map in SVG document

2011-11-07 Thread Simon Platten
Hi, I've been working on an SVG GUI http://svggui.com/demo/virDesktop.php What I want to do is to create a panel, which can contain a Google map. Your link seems to be do embed SVG into an HTML document, which is the inverse of what I'm trying to do. Sorry if I haven't included enough

[Google Maps API v3] Re: Transaction limits and associated costs

2011-11-07 Thread JD Gauchat
Hi Rossko. Thanks for the advice. Here is what I know: I was working on a project that requires Google Maps. Due to its characteristics, I estimated the following: - I would have 5 loads per user in average (possible more considering that I can't save static images on my server, not even

[Google Maps API v3] Re: Adding a border to marker icon

2011-11-07 Thread pec76
Hello, I cannot do this in the iamge by editing. Each icon is the user avatar. More that 5000 and not all the same format. By Css I thinks is not easy because I cannot know the name of the image class in google maps. Rick On 4 nov, 13:58, geocode...@gmail.com geocode...@gmail.com wrote: On

[Google Maps API v3] How to retrieve the marker icon CSS style or class

2011-11-07 Thread pec76
I need to set some style to my marker icons via CSS how can I retrieve the style ? -- 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

[Google Maps API v3] Re: Transaction limits and associated costs

2011-11-07 Thread davie
Hi I think that it may be your business model that sucks Adsense quote $0.05 to $5.00 per 1000 clicks This would generate between $1.25 and $125 per 1000 clicks excluding the $31.25 or $3125 generated before the 25000 quota. If you cannot generate over $0.2 per 1000 clicks you why should

[Google Maps API v3] Re: How to embed google map in SVG document

2011-11-07 Thread Sy
I think I may be able to do it with the 'foriegnobject' tag: http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg On Nov 7, 12:23 pm, Simon Platten simonaplat...@gmail.com wrote: Hi, I've been working on an SVG GUIhttp://svggui.com/demo/virDesktop.php What I want to do

[Google Maps API v3] Re: Make custom routes

2011-11-07 Thread Kasper
Ah ok, thanks. I think its working just perfect now: http://bit.ly/vZdevz [the dark blue marker is de train] [press Volg Deze Trein to keep updating the location: it refreshes every minute] At first I thought the position calculation was inaccurate, but then I thought of the fact that the

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

2011-11-07 Thread Kasper
Can something similar also be done with markers and infowindows? Please let me know :D -- 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

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

2011-11-07 Thread geocode...@gmail.com
On Nov 7, 8:33 am, Kasper kaspervandel...@gmail.com wrote: Can something similar also be done with markers and infowindows? Please let me know :D Similar to what? It looks like the message you might have replied to was about how to move markers. -- Larry -- You received this message

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

2011-11-07 Thread Kasper
I'm sorry, you are right. I meant if it was possible to change the content of infowindows and names of markers. Is that possible, or does that happen automatically? [I thought I tried that, but now I think of it, I didnt move the markers, I placed new ones...] -- You received this message

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

2011-11-07 Thread geocode...@gmail.com
On Nov 7, 9:07 am, Kasper kaspervandel...@gmail.com wrote: I'm sorry, you are right. I meant if it was possible to change the content of infowindows and names of markers. Is that possible, or does that happen automatically? It is possible. It doesn't happen automatically, you need to write

[Google Maps API v3] Re: Bug in Chrome or V3 Google Maps API? Calling setMap causes a white screen flash in a *new* tab in Chrome

2011-11-07 Thread pbuckner
On Chrome Mac, I'm looping doing animated overlays by doing something like ... newOverlay.setMap(map); ... prevOverlay.setMap(null); prevOverlay = newOverlay; I'm not seeing white flash, but I do see that it takes nearly a second for the newOverlay.setMap(map) to work, and the result is that the

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

2011-11-07 Thread Kasper
My apologies for being so vague. I indeed want to change the title of a marker [the tooltip]. Besides that I also want to change the content of the infowindow. This is the code I'm using now: var infowindow0 = new google.maps.InfoWindow({ content: content here }); var marker0 = new

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

2011-11-07 Thread Rossko
The position can be changed by .setPosition, but for example, is there a similar function to change the InfoWindow content? You could have a look at the documentation, see if there wasa 'setContent' method? http://code.google.com/apis/maps/documentation/javascript/reference.html#InfoWindow --

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

2011-11-07 Thread Kasper
That looks exactly like what I'm looking for indeed. I find that documentation so hard to find the required information in, that I prefer asking it on the forum. There should be room for beginners question on a forum, right? But thanks a lot! I can finish up my script now! -- You received this

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

2011-11-07 Thread Andrew Vrydaghs
I am having a problem with the google maps API where when the info bubble appears to be created before the marker, and then when the marker appears, it pushes the info bubble out of view in smaller maps. Example: http://www.zoponline.com/googlemap/ My Javascript: http://pastebin.com/C5ndhDv2

[Google Maps API v3] Map Newbie - which map for multiple points? SO CONFUSED!

2011-11-07 Thread mlb
I am trying to add a map to my site and thought this would be simple. I am looking at the API's and have NO idea which one to pick, let alone how to plot multiple points on my map. Can someone point me in the right direction as to which map to use for multiple locations? For example, if you

[Google Maps API v3] Strategy geocode V2 accuracy vs V3

2011-11-07 Thread Charlie Tomlinson
I'm just starting to convert an app from V2 to V3 that relies on geocoding an address or lat/lng in order to generate directions to nearest hospital. V2 geocode results provided an "accuracy" scale that doesn't appear to be in V3. When

[Google Maps API v3] Displaying the directions result

2011-11-07 Thread Daniel Gerzo
Hello all, I am having a problem displaying the alternative route from the result of the directions service. My problem is that the directions are being rendered on the map, but it is always the first route (i.e. index 0) even though I am setting it to different values through setShortestRoute()

[Google Maps API v3] Re: Bug in Chrome or V3 Google Maps API? Calling setMap causes a white screen flash in a *new* tab in Chrome

2011-11-07 Thread pbuckner
I'm seeing a Chrome regression with my delay issue (worked in Chrome 14), but unfortunately, cannot verify your flashing issue: Looks like they're not related. Sorry -- I'll start a new thread. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript

[Google Maps API v3] GroundOverlay 'GETS' url on every setMap(map), on Chrome, unnecessarily

2011-11-07 Thread pbuckner
Do animation loop with multiple google.maps.GroundOverlay(url...) Using timer, show / hide the overlays in order to create an animation effect. Expected (and common) behavior was the FIRST call to overlay.setMap(map) for a particular overlay caused browser to request the remote resource.

[Google Maps API v3] Re: Map Newbie - which map for multiple points? SO CONFUSED!

2011-11-07 Thread Rossko
For example, if you go to Home Depot's website and type in your desired zip code, the map displays the points of all locations within the given radius. Have you seen http://code.google.com/apis/maps/articles/phpsqlsearch_v3.html -- You received this message because you are subscribed to the

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

2011-11-07 Thread Rossko
I find that documentation so hard to find the required information in, that I prefer asking it on the forum. It's even possible to search and see if it has ever come up before

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

2011-11-07 Thread rlk27
I am creating my overlay as shown below *var testOverlay = new myOverlay(marker.position,infobox.innerHTML);* Below is my overlay code, where onAdd() , draw and onRemove90 is defined. But simetime I see that draw is getting null object error when accessing this._div in the draw() function?

[Google Maps API v3] Re: Listing zoom

2011-11-07 Thread Am
Thank you for your help. I think that is what I'm looking for. Before I made changes (which recently broke the page) it would zoom in 100%. I have no idea what any of the code does. I'm not a programmer, I just wanted to build the map without having to purchase one already made. Do I have code

[Google Maps API v3] Re: How to embed google map in SVG document

2011-11-07 Thread davie
Hi See http://daviestrachan.zxq.net/maps/svgmap.xml Map in SVG Regards Davie On Nov 7, 3:19 pm, Sy simonaplat...@gmail.com wrote: I think I may be able to do it with the 'foriegnobject' tag: http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg On Nov 7, 12:23 pm, Simon

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

2011-11-07 Thread Kasper
Yeah, if you know what to look for, which I didn't really. However, I'm going insane here, because I just cant get it to work... At first I got loads of errors like I didnt close the arguments with an ), which I fixed by using setContent({ content: text }); Which is weird, because the

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

2011-11-07 Thread Rossko
Perhaps you can see something that is wrong? Referring to the documentation, infowindow4.setContent({ content: 'Wow, no bail, hij draait ' }); is wrong, try infowindow4.setContent('Wow, no bail, hij draait '); -- You received this message because you are subscribed to the Google

[Google Maps API v3] Re: GroundOverlay 'GETS' url on every setMap(map), on Chrome, unnecessarily

2011-11-07 Thread Enoch Lau (Google Employee)
Can you make a demo please? Enoch -- 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/-/lPP_mPpDVhEJ. To post to this group, send email

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

2011-11-07 Thread MymsMan
Try reversing the order of the lines: setShortestRoute(response); directionsDisplay.setDirections(response); The handling of RouteIndex seems to be very strange, If you try to extract the RouteIndex in a directions changed events listener it

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

2011-11-07 Thread JKurtock
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 - Jeff On Nov 7, 4:47 am, Daniel Gerzo dan...@rulez.sk

[Google Maps API v3] Re: Struggling to set up sharing Infowindow link with a unique url inside its own infowindow?

2011-11-07 Thread Rossko
  function dasherize(title) {     return title.replace(/\s+/g,'-').replace(/'/g, ''); google.maps.event.addListener(marker, click, marker.openInfoWindow);   } Investigate what happens when javascript encounters a 'return' inside a function. This is not a maps issue. Example javascript

Re: [Google Maps API v3] Re: Struggling to set up sharing Infowindow link with a unique url inside its own infowindow?

2011-11-07 Thread Andrew Leach
On 7 November 2011 23:51, Christopher Watson chris.watso...@googlemail.com wrote: hey all, fixed the creating the dashed url's to this http://creativemaps.vism.ag/1c.htm?Jimmys-place yay. but it doesnt automatically display the infowindow after the url is accessed like this would have:

[Google Maps API v3] Re: Overlay Click Event not Firing on IOS Device

2011-11-07 Thread Chris C
OK. It turns out this does work. I was not able to tell because there is a current bug in Mobile Safari on iOS5 that is caching javascript even when you clear the cache. I had to reset the device to fix another error and just retested this now. panes.overlayMouseTarget.appendChild(div);

[Google Maps API v3] What has happened to the corners of an info window?

2011-11-07 Thread Starson
I am using the V3 maps API for some months now and haven't changed anything. Recently I saw that the corners of an info window aren't round any more. What has changed?? -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to

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

2011-11-07 Thread civilsurfer
http://www.greenandtheblue.com/weather/allsites.html On Firefox, the map zooms in and scrolls down the page when hovering over the map and using the scroll wheel. In IE, it only zooms in. I want the map to only zoom, not scroll down the page too. Are there any fixes for this? Thanks, S --

[Google Maps API v3] Re: What has happened to the corners of an info window?

2011-11-07 Thread geocode...@gmail.com
On Nov 7, 4:15 pm, Starson liz1...@gmail.com wrote: I am using the V3 maps API for some months now and haven't changed anything. Recently I saw that the corners of an info window aren't round any more. What has changed?? The development/nightly version of the API? See:

[Google Maps API v3] Re: What has happened to the corners of an info window?

2011-11-07 Thread geocode...@gmail.com
On Nov 7, 5:33 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Nov 7, 4:15 pm, Starson liz1...@gmail.com wrote: I am using the V3 maps API for some months now and haven't changed anything. Recently I saw that the corners of an info window aren't round any more. What has changed??

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

2011-11-07 Thread geocode...@gmail.com
On Nov 7, 9:25 am, Andrew Vrydaghs and...@gmail.com wrote: I am having a problem with the google maps API where when the info bubble appears to be created before the marker, and then when the marker appears, it pushes the info bubble out of view in smaller maps.

[Google Maps API v3] Re: GroundOverlay 'GETS' url on every setMap(map), on Chrome, unnecessarily

2011-11-07 Thread pbuckner
yes, working on a short demo... it's taken me a while to narrow down the test case. It appears the problem is related to overlays which are obtained with Transfer-Encoding: chunked. regular images retrieved as with Content- Length don't have the problem. On Nov 7, 2:47 pm, Enoch Lau (Google

[Google Maps API v3] Re: GroundOverlay 'GETS' url on every setMap(map), on Chrome, unnecessarily

2011-11-07 Thread pbuckner
http://maps.avnwx.com/groundOverlays.html -- 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 API v3] Does anyone use Mobile Atlas Creator?

2011-11-07 Thread xinyun_0...@126.com
Does anyone use Mobile Atlas Creator?I have some questions to ask. -- 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

[Google Maps API v3] Does anyone use Mobile Atlas Creator?

2011-11-07 Thread xinyun_0...@126.com
Does anyone use Mobile Atlas Creator?I have some questions to ask. -- 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

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

2011-11-07 Thread Junsuk Bang
Hi, During making an example using markerclusterer library, I found that any of functions in this object was not working. Here is my example, which allows you to set a marker at the point you clicked. Then, What I'm trying is that markerclusterer automatically clusts all the points User

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

2011-11-07 Thread Martin™
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=1605can=1q=apitype%3AJavascript3%20firefox%20scrollcolspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars That's

[Google Maps API v3] The event of mouseover and mouseout when I create an OverlayView

2011-11-07 Thread Potato
I create a custom div by OverlayView. there is a in the Overlay, when the mouse hover the div, there will be trigger the event of mouseover and when the mouse are out of the div then the event of mouseout will be triggered. When the mouse is triggered event mouseover, a div named div1 will be

[Google Maps API v3] Question regarding using the API

2011-11-07 Thread Joey Matos Dos Santos
Hi, I'm thinking of developing a website that makes use the google maps to indicate crime incidents, the website will require users to register and viewing the map api, markers and overlays I add will be free and available, however I want to charge a monthly premium for additional information

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

2011-11-07 Thread geocode...@gmail.com
On Nov 7, 7:55 pm, Junsuk Bang jsb...@sphinfo.co.kr wrote: Hi, During making an example using markerclusterer library, I found that any of functions in this object was not working. Here is my example, which allows you to set a marker at the point you clicked. Then, What I'm trying is that

[Google Maps API v3] Re: How to embed google map in SVG document

2011-11-07 Thread Sy
Thank you, I will have a play. On Nov 7, 9:58 pm, davie daviestrac...@yahoo.co.uk wrote: Hi Seehttp://daviestrachan.zxq.net/maps/svgmap.xml Map in SVG Regards Davie On Nov 7, 3:19 pm, Sy simonaplat...@gmail.com wrote: I think I may be able to do it with the 'foriegnobject' tag: