Andrew Turner
2008-May-20 18:57 UTC
[Mapstraction] AddOverlay for GeoRss Feeds, GeoRSS support
On Mon, May 19, 2008 at 4:36 PM, Pierre Romieux <promieux at gmail.com> wrote:> Hi, > > Sorry for this email, but I need your help. I''m testing Mapstraction and I > have problems with GeoRss. I''m not able to link the GeoRss markers. > I have copied the sample with full code but nothing. The markers layer are > not added to my page. All js are ok. I''m work in C#, under at localhost .I > tested in IE and Firefox+Firebug.I use same Google api''s and creadentials > for testing. Others markers works. I''m tested with js locals or http. Could > you help-me?Try putting it up on a public facing server to test.> > <div id="mapstraction"></div> > <script type="text/javascript"> > > // initialise the map with your choice of API > var mapstraction = new Mapstraction(''mapstraction'',''google''); > > var myPoint = new LatLonPoint(37.4041960114344,-122.008194923401); > // display the map centered on a latitude and longitude (Google zoom > levels) > mapstraction.setCenterAndZoom(myPoint, 3); > mapstraction.addControls({zoom: ''large''}); > > mapstraction.addOverlay("http://api.flickr.com/services/feeds/groups_pool.gne?id=322338 at N20&format=rss_200&georss=1"); > </script> > > > Regards > > > > >-- Andrew Turner mobile: 248.982.3609 andrew at mapufacture.com 42.2774N x 83.7611W http://highearthorbit.com Ann Arbor, Michigan, USA http://mapufacture.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography
Michael Pelz Sherman
2008-May-20 19:06 UTC
[Mapstraction] AddOverlay for GeoRss Feeds, GeoRSS support
Pierre - in case this isn''t clear (it wasn''t to me until I stumbled across it just as you did!), Google (and therefore mapstraction) does NOT support local GeoRSS feeds. http://code.google.com/p/gmaps-api-issues/issues/detail?id=300 Until this is supported, for local GeoRSS feed you''ll have to use MGeoRSS: http://brainoff.com/gmaps/mgeorss.html ... and be sure to include this patch if you need to support IE: http://pelz-sherman.net/blog/?p=81 Good luck! - mps --- Andrew Turner <ajturner at highearthorbit.com> wrote:> On Mon, May 19, 2008 at 4:36 PM, Pierre Romieux <promieux at gmail.com> wrote: > > Hi, > > > > Sorry for this email, but I need your help. I''m testing Mapstraction and I > > have problems with GeoRss. I''m not able to link the GeoRss markers. > > I have copied the sample with full code but nothing. The markers layer are > > not added to my page. All js are ok. I''m work in C#, under at localhost .I > > tested in IE and Firefox+Firebug.I use same Google api''s and creadentials > > for testing. Others markers works. I''m tested with js locals or http. Could > > you help-me? > > > Try putting it up on a public facing server to test. > > > > > > <div id="mapstraction"></div> > > <script type="text/javascript"> > > > > // initialise the map with your choice of API > > var mapstraction = new Mapstraction(''mapstraction'',''google''); > > > > var myPoint = new LatLonPoint(37.4041960114344,-122.008194923401); > > // display the map centered on a latitude and longitude (Google zoom > > levels) > > mapstraction.setCenterAndZoom(myPoint, 3); > > mapstraction.addControls({zoom: ''large''}); > > > > >mapstraction.addOverlay("http://api.flickr.com/services/feeds/groups_pool.gne?id=322338 at N20&format=rss_200&georss=1");> > </script> > > > > > > Regards > > > > > > > > > > > > > > -- > Andrew Turner > mobile: 248.982.3609 > andrew at mapufacture.com 42.2774N x 83.7611W > http://highearthorbit.com Ann Arbor, Michigan, USA > > http://mapufacture.com Helping build the Geospatial Web > Introduction to Neogeography - http://oreilly.com/catalog/neogeography > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >