OpenStreetMap 标志 OpenStreetMap

A *LOT* more progress

diogow 于 2008年二月13日 以 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

位置: 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
电子邮件图标 Bluesky图标 Facebook图标 LinkedIn图标 Mastodon图标 Telegram图标 X图标

讨论

登录以留下评论