OpenStreetMap logo OpenStreetMap

A *LOT* more progress

Posted by diogow on 13 February 2008 in English.

Ok, now, a lot of stuff got done these last 2 days:

- Offline mode ! Yes ! Now I can browse the map without actually overloading the server at every single request. It's very slow, though, I have to improve the way I load the map data into the memory. On the plus side, for a 15 sq km area from my central location, I only download 427 KB off the server, and it's a one-time download.

- Only draw ways that matter depending on your zoom level, so if your looking at the city from very far, you only see the main roads. As you increase the zoom level, the minor roads are drawn too. Remember that I'm drawing this dynamically all the time, I'm not downloading tiles from the server, you only connect to the server once.

- Some other minor stuff: Drawing the nodes on the map (depending on zoom level); proper aspect ratio calculation when drawing the map, so if you have a non-square screen on your cell, you see the map without distortion; keyboard-based browsing of the map, including zoom in, out and gps lock.

That's pretty much it.

I'm still trying to figure out a way how I can release the source code and the program and still make money from it, but that's for another topic some time.

Still, a lot to go !

Good night,
Diogo

Location: Vila Gomes Cardim, Tatuapé, São Paulo, Região Imediata de São Paulo, Região Metropolitana de São Paulo, São Paulo, Southeast Region, 03314-000, Brazil
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Log in to leave a comment