Andrew Turner
2009-Oct-03  16:41 UTC
[Mapstraction] now with OpenLayers and OSM support in G and OL
I added OpenLayers support this morning and extended the demo to show
it off as well as a few more tests: http://mapstraction.com/mxn/tests/
I realized that you could already support OpenStreetMap tiles using
the Google provider by adding the TileLayer. I extended the
addTileLayer method to allow you to specify if it''s a MapType (and
gets a button in many providers) or just a new base tile layer. I also
extended the documentation to show an example of how to use this:
   m.addTileLayer("http://tile.openstreetmap.org/{Z}/{X}/{Y}.png",
1.0, "OSM", 1, 19, true);
But you can also now use OpenLayers for offline support or terms of
service, or whatever reason.
I''ll be updating the AppEngine Sandbox to use the V2 API where
possible.
Andrew
Ed Freyfogle
2009-Oct-04  09:17 UTC
[Mapstraction] now with OpenLayers and OSM support in G and OL
very nice, very nice.
great to see the flurry of activity, especially as I myself was on
holiday for the last week.
One thing, the build was breaking and is still warning about the doc formatting
     [java] >> WARNING: Trying to document getPolyline as a member of
undocumented symbol Radius.
     [java] 1 warning.
I got things passing again, but without jslinting openlayers, can you
add it and get it passing? thx
http://code.google.com/p/mapstraction/source/detail?r=43
I''m hoping to push forward w/ googlev3 this week. we''ll see.
All help
is of course very much appreciated.
On Sat, Oct 3, 2009 at 17:41, Andrew Turner <ajturner at
highearthorbit.com> wrote:> I added OpenLayers support this morning and extended the demo to show
> it off as well as a few more tests: http://mapstraction.com/mxn/tests/
>
> I realized that you could already support OpenStreetMap tiles using
> the Google provider by adding the TileLayer. I extended the
> addTileLayer method to allow you to specify if it''s a MapType (and
> gets a button in many providers) or just a new base tile layer. I also
> extended the documentation to show an example of how to use this:
> ? m.addTileLayer("http://tile.openstreetmap.org/{Z}/{X}/{Y}.png",
> 1.0, "OSM", 1, 19, true);
>
> But you can also now use OpenLayers for offline support or terms of
> service, or whatever reason.
>
> I''ll be updating the AppEngine Sandbox to use the V2 API where
possible.
>
> Andrew
> _______________________________________________
> Mapstraction mailing list
> Mapstraction at lists.mapstraction.com
> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com
>