>> setLat and setLon are undefined >> >> >> >> BoundingBox.prototype.extend = function(point) { >> if(this.sw.lat > point.lat) >> this.sw.setLat(point.lat); >> if(this.sw.lon > point.lon) >> this.sw.setLon(point.lon); >> if(this.ne.lat < point.lat) >> this.ne.setLat(point.lat); >> if(this.ne.lon < point.lon) >> this.ne.setLon(point.lon); >> >> return; >> } >> >> > > You should be able to just use: > this.new.lat > > and so on, replacing set* with just lat or lon=. > >Thanks Andy : I know how to fix it on my local server, but is there any volunteer to fix the official version in SVN ? I''m ready to help if you grant me write access to SVN. Christophe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080222/988f1c4f/attachment.htm
Committed, since I also added another set of functions for TileLayers. Also updated compressed. Thanks On Fri, Feb 22, 2008 at 7:44 AM, Christophe B. <christophe at geonames.org> wrote:> > > > > setLat and setLon are undefined > > > > BoundingBox.prototype.extend = function(point) { > if(this.sw.lat > point.lat) > this.sw.setLat(point.lat); > if(this.sw.lon > point.lon) > this.sw.setLon(point.lon); > if(this.ne.lat < point.lat) > this.ne.setLat(point.lat); > if(this.ne.lon < point.lon) > this.ne.setLon(point.lon); > > return; > } > > > You should be able to just use: > this.new.lat > > and so on, replacing set* with just lat or lon=. > > > Thanks Andy : I know how to fix it on my local server, > but is there any volunteer to fix the official version in SVN ? > > I''m ready to help if you grant me write access to SVN. > > Christophe > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >-- 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
Thanks Andrew for the latest update. Here is another bug : http://geotree.geonames.org/ussr.html Christophe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080223/c67ebe5a/attachment.html
Thanks Christophe! Have a fix yet? ;) In general, I think a suite of tests like this is essential as well. The API is getting large, and the list of supported providers is very large, so tough to make sure everything works. These tests would also serve as individual feature demos. Also, specific to drawing polylines, Mapstraction should add support for Google''s encoded polylines. Much faster rendering of complex lines. On Sat, Feb 23, 2008 at 3:49 AM, Christophe B. <christophe at geonames.org> wrote:> > Thanks Andrew for the latest update. > > Here is another bug : > http://geotree.geonames.org/ussr.html > > > Christophe-- 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
Ah, so this is a bug in Yahoo when trying to draw across the anti-meridian or datetime line. Seems like some hacking will be necessary - perhaps we should ping the Yahoo maps team :) The centerAndZoomOnPoints is something that needs to be fixed in Mapstraction. On Sat, Feb 23, 2008 at 6:27 AM, Andrew Turner <ajturner at highearthorbit.com> wrote:> Thanks Christophe! Have a fix yet? ;) > > In general, I think a suite of tests like this is essential as well. > The API is getting large, and the list of supported providers is very > large, so tough to make sure everything works. These tests would also > serve as individual feature demos. > > Also, specific to drawing polylines, Mapstraction should add support > for Google''s encoded polylines. Much faster rendering of complex > lines. > > > > On Sat, Feb 23, 2008 at 3:49 AM, Christophe B. <christophe at geonames.org> wrote: > > > > Thanks Andrew for the latest update. > > > > Here is another bug : > > http://geotree.geonames.org/ussr.html > > > > > > Christophe > > > > -- > 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 >-- 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