On Feb 10, 5:43 pm, Steve D <bigd...@gmail.com> wrote:
> Doesn't currently work in Opera 10.10, though it does look nice Firefox
> 3.5.7.  I'm thinking I might just go back to v2 though.
>

It now works on Opera 10.10 as well. I'd be interested to hear from
anyone using Safari on a Mac.
http://maps.forum.nu/v3/gm_customTiles.html


--
Marcelo - http://maps.forum.nu
--



> -Steve D
>
>
>
> On Wed, Feb 10, 2010 at 4:34 AM, Marcelo <marcelo...@hotmail.com> wrote:
> > Custom overlays with opacity here:
> >http://maps.forum.nu/v3/gm_customTiles.html
>
> > Only tested in Chrome 3, FF 3.011 and IE7 so far.
>
> > --
> > Marcelo -http://maps.forum.nu
> > --
>
> > On Feb 9, 4:43 am, Steve D <bigd...@gmail.com> wrote:
> > > Ahh, thanks!
>
> > > -Steve D
>
> > > On Mon, Feb 8, 2010 at 6:09 PM, Chad Killingsworth <
>
> > > chadkillingswo...@missouristate.edu> wrote:
> > > > That's because there isn't one in the ImageMapType object. You'll have
> > > > to use a custom overlay such as
> > > >http://search.missouristate.edu/map/mobile/examples/tileoverlay.js
>
> > > > Chad Killingsworth
>
> > > > On Feb 8, 6:36 pm, Steve D <bigd...@gmail.com> wrote:
> > > > > I'm in the process of learning my way around javascript and the
> > google
> > > > > maps API.  Decided to go the route of using the V3 since it appears
> > to
> > > > > have everything I need, while being much more readable.
>
> > > > > The only thing I *think* I'm missing now is being able to set the
> > > > > opacity of my tile layers.
>
> > > > > My test case code is basically from this example:
> > > >http://code.google.com/apis/maps/documentation/v3/examples/maptype-tr.
> > ..
>
> > > > > Modified to work with the png tiles I've created.  They show up and
> > > > > all, and it looks quite nice, except that I can't set the opacity of
> > > > > the tiles, as unlike the roads in the example code, my tiles cover
> > > > > large blobs of area and it really would be beneficial if I could see
> > > > > the detail through them.
>
> > > > > As I don't have the data on web server, here's the relevant code:
>
> > > > > var coverage = new google.maps.ImageMapType({
> > > > >     getTileUrl: function(coord, zoom) {
> > > > >       return "Z" + zoom + "/" + coord.y + "/" + coord.x + ".png";
> > > > >     },
> > > > >     tileSize: new google.maps.Size(256, 256),
> > > > >     isPng: true
> > > > >   });
>
> > > > >   var map;
> > > > >   function initialize() {
> > > > >     map = new google.maps.Map(document.getElementById("map_canvas"));
> > > > >     map.setCenter(new google.maps.LatLng(54.1296766, -120.9375000));
> > > > >     map.setZoom(6);
> > > > >     map.setMapTypeId('satellite');
> > > > >     map.overlayMapTypes.insertAt(0, coverage);
> > > > >   }
>
> > > > > My example from v2 would have something like
> > > > > testlayer.getOpacity = function () {return 0.39;};   //of the non
> > > > > transparent part
>
> > > > > I can't seem to find the equivalent function in v3 in the reference.
>
> > > > > Thanks in advance,
>
> > > > > -Steve D
>
> > > > --
> > > > 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.com<google-maps-js-api-v3%2B
> > > >  unsubscr...@googlegroups.com><google-maps-js-api-v3%2B
> > unsubscr...@googlegroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> > --
> > 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.com<google-maps-js-api-v3%2B 
> > unsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to