Research Log of Web Science Students

Computer Science is not simply programming

Map Labels

leave a comment »

We first tried to make a layer on the map containing building labels. The labels should always be upright so every rotation we have to redraw the text on a path angled based on the current Location Bearing. We added sample points here to test our code:

labels1

Doesn’t look so bad but the embedded labels on OpenStreetMap’s tiles are rotating along with the map image making things a little messy. We might as well contribute some Geographic information on OpenStreetMap about buildings and labels on our Campus. We’ll just polish things first on our external Provider.

At least the workaround might be helpful to anyone planning to make their own rotating map using custom tiles.

Advertisements

Written by laurencekit07

September 12, 2009 at 11:55 pm

Posted in UP Nav

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: