[Google Maps API v3] Strange error message in Firebug

2010-02-21 Thread shrdlu_junction
Error: Permission denied to access property 'parentNode' from a non- chrome context Source File: http://maps.gstatic.com/intl/en_au/mapfiles/api-3/29/main.js Line: 54 It happens when I move the mouse cursor from the map to the horizontal scroll bar at the bottom of the main frame if the bottom of

Re: [Google Maps API v3] FYI: New Release (2010/02/22)

2010-02-21 Thread Pan Zheng Xiang Jedi
*Dear Susannah,* i face with a problem: http://tanglincairnhill.shioking.info/tc/ for internet explorer, the map stays ok, however zoom bar gets distorted with multiple images of the component images.. i'm going for presentation weekly, and this is for community volunterism please advise urgentl

[Google Maps API v3] FYI: New Release (2010/02/22)

2010-02-21 Thread Susannah (Google Employee)
We have just released a new version of the JS v3 API. If there are no major issues, we will make a full announcement of this release, with updated documentation, in 24-48 hours. Please report in the group if you see any regression issues. Thanks, Susannah -- You received this message because you

[Google Maps API v3] Re: Overlayed divs block any interaction with Google Maps

2010-02-21 Thread pete
Hi there, You can achieve a similar effect using CSS Mastery See my crude re-created example: http://taledo.com.au/map_overlay.htm Basically, the wrapping DIV needs: 1. Aboslute positioning 2. A very small width (I've used 10px) 3. overflow:visible The ONLY consideration to this method is that

[Google Maps API v3] Re: Overlayed divs block any interaction with Google Maps

2010-02-21 Thread pete
Hi there, You can achieve a similar effect using CSS Mastery See my crude re-created example: http://taledo.com.au/map_overlay.htm Basically, the wrapping DIV needs: 1. Aboslute positioning 2. A very small width (I've used 10px) 3. overflow:visible The ONLY consideration to this method is that

[Google Maps API v3] Re: Overlayed divs block any interaction with Google Maps

2010-02-21 Thread Esa
On Feb 22, 1:10 am, rowanc88 wrote: > anything? I think no answers because there is no simple answer to your question. In order to the mouse events to reach the map, the overlays should be part of the dom structure of map. There is no documented way to insert such static overlays on map v3. An

Re: [Google Maps API v3] Re: wrapping of tilespace

2010-02-21 Thread Ben Appleton
Wrapping takes place in the LatLng objects that you use to specify the position of your overlays. If you want to hide the fact that longitudes wrap at +/- 180 degrees, I suggest using a smaller longitude range and zooming in so that your map never spans 180 longitude. On Mon, Feb 22, 2010 at 10:1

Re: [Google Maps API v3] Re: How to get the current projection for a MapType which is added into overlayMapTypes

2010-02-21 Thread Ben Appleton
Just to clarify, longitudes by definition wrap at +/- 180 degrees, but in v3 the tile space does not wrap. Which wrapping do you mean? On Mon, Feb 22, 2010 at 9:43 AM, Yonas Sahlemariam Haile < yoniclas...@gmail.com> wrote: > Is there any way in Gmap V3 to stop the tilespace wrapping about longi

[Google Maps API v3] Re: wrapping of tilespace

2010-02-21 Thread yonas
this is the url, i didn't send it earlier, http://www.imrc.kist.re.kr/~yonas/ver_3/ On Feb 22, 7:50 am, Esa wrote: > Custom map types of v3 do not wrap by default. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to th

[Google Maps API v3] Re: wrapping of tilespace

2010-02-21 Thread yonas
thanks for your reply. its right the map types of v3 won't wrap horizontally by default, but the overalys do. I have custom map types that uses euclidean projection, in V2 i can stop the markers wrapping on the X axis using getWrapWidth method, but i couldn't figure out how to stop markers wrappin

Re: [Google Maps API v3] Re: How to get the current projection for a MapType which is added into overlayMapTypes

2010-02-21 Thread Yonas Sahlemariam Haile
Is there any way in Gmap V3 to stop the tilespace wrapping about longitude, there was a method, projection.prototype.getWrapWidth(zoom) in Gmap V2 . if this method returns infinity the map overlays won't repeat. i need the map overlays stop wrapping horizontally on euclidean projection i made, i h

[Google Maps API v3] Re: Overlayed divs block any interaction with Google Maps

2010-02-21 Thread rowanc88
anything? -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups

[Google Maps API v3] Re: wrapping of tilespace

2010-02-21 Thread Esa
Custom map types of v3 do not wrap by default. -- 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...@googlegroups.com. To unsubscribe from this group, send email to google-ma

[Google Maps API v3] wrapping of tilespace

2010-02-21 Thread yonas
hi guys, i am kind of newbie to Google Maps api Version-3, but have little experience on V2. I have a custom projection based on Version-2, and I used Projection.prototype.WrapWidth function to return infinity so that the tilespace doesn't wrap horizontally. but I couldn't find this method on V3.

[Google Maps API v3] Re: How to get the current projection for a MapType which is added into overlayMapTypes

2010-02-21 Thread Philip
I thought of using an OverlayView, but the hassle of maintaining the tile lists seemed too much like hard work. As I look at it, the difference between a MapType and an OverlayView is that the former deals with the tile mapping onto the screen and which tiles are required. The latter allows irregul

[Google Maps API v3] Re: show/hide toggle for polygons

2010-02-21 Thread Esa
On Feb 21, 6:56 am, אæα wrote: > > why can't this work (m7418 is the polygon): > The function looks fine but http://groups.google.com/group/google-maps-js-api-v3?hl=en.

[Google Maps API v3] Re: Displaying several maps

2010-02-21 Thread Esa
What is the benefit of two separate maps that are shown one at a time? Why not use a single Map instance and manipulate its view. You can preload the tiles of the other view by momentarily setting map center and zoom at page load. -- You received this message because you are subscribed to the Go

[Google Maps API v3] show/hide toggle for polygons

2010-02-21 Thread אæα
Hello, I want to make a toggle for polygons with checkboxes, but I can't see how to make a simple hide/show button: I have for example: http://pastebin.com/m70981c1a http://boxes.x10hosting.com/poly-2.9.html why can't this work (m7418 is the polygon): var toggleState = 1; function toggle() {

[Google Maps API v3] Re: Displaying several maps

2010-02-21 Thread bratliff
On Feb 21, 1:27 am, Chris Apolzon wrote: > I think the best way to handle that is to actually have each map get its own > div and show/hide the div itself as opposed to trying to swap out which map > owns the div. May the powers of CSS be with you ;) style.display="none" will confuse the API's D

Re: [Google Maps API v3] Re: Tile opacity

2010-02-21 Thread Björn Brala
Sorry, didn't mean to be a wiseguy Marcello :) Think ill be implementing the clientside solution for our MapServer, any possible reduction on load it a welcome one :) 2010/2/21 Marcelo > On Feb 21, 1:41 pm, Björn Brala wrote: > > It seems tho that the tiles are loaded even when the layer is h

[Google Maps API v3] Re: Tile opacity

2010-02-21 Thread Marcelo
On Feb 21, 1:41 pm, Björn Brala wrote: > It seems tho that the tiles are loaded even when the layer is hidden. Sure > its fast when you click, but it might slow down other donwloads Yeah, yeah... I know that, but it's only a transparency demo, not an application on a production site. -- Marcelo

[Google Maps API v3] Re: Displaying several maps

2010-02-21 Thread JCD21
So I write: map0=new google.maps.Map(document.getElementById("map_canvas0"),options) map1=new google.maps.Map(document.getElementById("map_canvas1"),options) ... And then ? (sorry, I'm not used to html and css) :( On 21 fév, 02:27, Chris Apolzon wrote: > I think the best way to handle tha

[Google Maps API v3] Re: Help with large image overlay

2010-02-21 Thread Marcelo
On Feb 21, 3:55 pm, MotoJohn wrote: > > Anyone have any tool links out there for positioning and scaling? > I don't have Photoshop, but the general principle is simple enough and it should be the same with any tile cutter script. The pixel coordinates grow from left to right and from top to botto

[Google Maps API v3] Re: Help with large image overlay

2010-02-21 Thread Esa
On Feb 21, 4:55 pm, MotoJohn wrote: > Anyone have any tool links out there for positioning and scaling? > This might be useful for you http://maps.huge.info/goverlay.htm It is a v2 GGroundOverlay scaling and positioning demo by John http://maps.huge.info/blog/2007/11/new_demo_resizablemovable

[Google Maps API v3] Re: Help with large image overlay

2010-02-21 Thread MotoJohn
This indeed solves my issue and got me started in the right direction. (http://www.mapsjkfl.co.cc/map_v4.html) Unfortunately, I'm having a miserable time determining the values for the Photoshop script, and the Tile Cutter tool linked from your reference page doesn't fully work anymore. I know that

[Google Maps API v3] Re: How to get the current projection for a MapType which is added into overlayMapTypes

2010-02-21 Thread bratliff
On Feb 20, 5:10 pm, Philip wrote: > I finally wrote my own MercatorProjection, but I suspect that the V3 > code doesn't use it. > > To see a demo of the resulting day/night shading on a map see: > > http://pskreporter.info/grid/test.html > > Note that the shading is calculated locally and is for t

[Google Maps API v3] Re: object rendering performance

2010-02-21 Thread bratliff
On Feb 21, 1:23 am, Chris Apolzon wrote: > Looks pretty good. Any chance you could put a demo together that loads all > those vertices at once? First, let me apologize for posting an inaccurate vertex count. The actual number is 320,000. The 3.2 million record count applies to the number of BT

Re: [Google Maps API v3] Re: Tile opacity

2010-02-21 Thread Björn Brala
It seems tho that the tiles are loaded even when the layer is hidden. Sure its fast when you click, but it might slow down other donwloads 2010/2/21 Marcelo > On Feb 12, 2:53 am, Steve D wrote: > > I realized I needed to deal with missing tiles. (I'm guessing > > your cgi script is doing that f

[Google Maps API v3] Re: Tile opacity

2010-02-21 Thread Marcelo
On Feb 12, 2:53 am, Steve D wrote: > I realized I needed to deal with missing tiles. (I'm guessing > your cgi script is doing that for you)  Anyway, this seemed to get rid of > the little red x's that were showing up all over my map: > > tile.onerror = function(){this.onerror=null; this.src='./non