Re: [OSM-talk] Title bars (dynamic updating of)
that's easy enough to do It would need to be in rails to go on the main page though, so if any ruby programmer wants to implement it, I can tell them what needs doing? (use the zoom level to choose 3 appropriately-spaced points around the lat/lon, lookup the placenames at each point (optionally choosing a language for the placenames), and return a list of placenames that appear in all 3 points) You have to make some assumptions about screen size though - 50.5,-0.2 @z11 on a mobile phone might be 'central london', while the same query on Al Gore's array of monitors might be 'europe' On Sun, Aug 2, 2009 at 5:45 AM, Stefan Baeblerstefan.baeb...@gmail.com wrote: Cool! For SEO reasons it could be really nice if this title would be present in html title tag already while the html is being sent to the client...and not delaying the initial response at the same time :) Stefan On Sat, Aug 1, 2009 at 7:43 PM, Ed Avise...@waniasset.com wrote: OJ W ojwlists at googlemail.com writes: Imagine if it said OpenStreetMap Oxfordshire, United Kingdom instead... http://dev.openstreetmap.org/~ojw/TitlebarDemo/?zoom=11lat=51.76lon=-1.282 You mean instead of OpenSteetMap Oxfordshire, United Kingdom? Yes that would be cool! Spelling apart, this is a really neat feature. Perhaps 'Oxfordshire, United Kingdom - Openstreetmap' would be even better. -- Ed Avis e...@waniasset.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Title bars (dynamic updating of)
--- On Sun, 2/8/09, OJ W ojwli...@googlemail.com wrote: You have to make some assumptions about screen size though - 50.5,-0.2 @z11 on a mobile phone might be 'central london', while the same query on Al Gore's array of monitors might be 'europe' Can't you get screen resolution and then calculate the zoom from that? ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Title bars (dynamic updating of)
On 02/08/09 11:06, OJ W wrote: It would need to be in rails to go on the main page though, so if any ruby programmer wants to implement it, I can tell them what needs doing? (use the zoom level to choose 3 appropriately-spaced points around the lat/lon, lookup the placenames at each point (optionally choosing a language for the placenames), and return a list of placenames that appear in all 3 points) Implementing it is easy. Predicting the resource usage of hundreds of browsers asking for a new title every few seconds is not. The gain here seems trivial - how many people are actually studying the title bar of the browser while they pan around the map? and the potential to impose a significant load on the server is high. Tom -- Tom Hughes (t...@compton.nu) http://www.compton.nu/ ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Title bars (dynamic updating of)
OJ W wrote: Most of the slippy-maps I've seen so far have OpenStreetMap or similar as the document title. While nicely minimalist, it doesn't always describe what you're looking at on screen. Imagine if it said OpenStreetMap Oxfordshire, United Kingdom instead... http://dev.openstreetmap.org/~ojw/TitlebarDemo/?zoom=11lat=51.76lon=-1.282 It is a very neat feature! It is absolutely great. Thanks, Emilie Laffray signature.asc Description: OpenPGP digital signature ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Title bars (dynamic updating of)
On Sat, Aug 1, 2009 at 13:38, OJ Wojwli...@googlemail.com wrote: Imagine if it said OpenStreetMap Oxfordshire, United Kingdom instead... http://dev.openstreetmap.org/~ojw/TitlebarDemo/?zoom=11lat=51.76lon=-1.282 Awesome! I really like all the stuff you have been coding lately (the business listings page, the boundary API) Thank a lot! -- -S ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Title bars (dynamic updating of)
2009/8/1 OJ W ojwli...@googlemail.com: Most of the slippy-maps I've seen so far have OpenStreetMap or similar as the document title. While nicely minimalist, it doesn't always describe what you're looking at on screen. Imagine if it said OpenStreetMap Oxfordshire, United Kingdom instead... http://dev.openstreetmap.org/~ojw/TitlebarDemo/?zoom=11lat=51.76lon=-1.282 cool, thank you, this is a really nice feature. Hope it gets quick implementation on the main page ! cheers, Martin ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Title bars (dynamic updating of)
OJ W ojwlists at googlemail.com writes: Imagine if it said OpenStreetMap Oxfordshire, United Kingdom instead... http://dev.openstreetmap.org/~ojw/TitlebarDemo/?zoom=11lat=51.76lon=-1.282 You mean instead of OpenSteetMap Oxfordshire, United Kingdom? Yes that would be cool! Spelling apart, this is a really neat feature. Perhaps 'Oxfordshire, United Kingdom - Openstreetmap' would be even better. -- Ed Avis e...@waniasset.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Title bars (dynamic updating of)
Cool! For SEO reasons it could be really nice if this title would be present in html title tag already while the html is being sent to the client...and not delaying the initial response at the same time :) Stefan On Sat, Aug 1, 2009 at 7:43 PM, Ed Avise...@waniasset.com wrote: OJ W ojwlists at googlemail.com writes: Imagine if it said OpenStreetMap Oxfordshire, United Kingdom instead... http://dev.openstreetmap.org/~ojw/TitlebarDemo/?zoom=11lat=51.76lon=-1.282 You mean instead of OpenSteetMap Oxfordshire, United Kingdom? Yes that would be cool! Spelling apart, this is a really neat feature. Perhaps 'Oxfordshire, United Kingdom - Openstreetmap' would be even better. -- Ed Avis e...@waniasset.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk