2

I would like to implement a little map "like" Google Maps. Its a fictive one (Game Map). I should have the ability to zoom and move around. Also i would like to be able to put some markes on it and do a very basic routing.

My question is now purly conceptual. How would you realize this? Map as background that scales and moves. Then an overlay like a Canvas object to draw over it? Somene has experience with this? I don't really know if this is the right approach.

Thank You.

4
  • There are some tools out there (OpenStreetMap, GeoServer) that would allow you to build a map server that hosts the tiles of your map data with a pretty decent maps api on the front end - not sure if that would meet your needs or not. Commented Apr 26, 2013 at 12:59
  • What kind of form is your original map data in? Commented Apr 26, 2013 at 12:59
  • 1
    Consider asking this on Programmers.SE? Commented Apr 26, 2013 at 12:59
  • Form is a picture right now. I could of course make a mapping on my own with some pathpoints or similar. BTW Ty for the link Antony looks like an awsome page i didn't know yet :D Commented Apr 26, 2013 at 13:04

2 Answers 2

2

Have you ever used a program called Impact?

its really useful when building games in HTML5

http://impactjs.com/

Sign up to request clarification or add additional context in comments.

1 Comment

Ty for the link. Actually I am not programming a game. I am mapping an existing one. So I don't think a Tile-Map can help me here.
1

I don't fully get what you want but with jVectorMap ou can create you own vector(!) maps with markers and custom colors.

So I think it will help you.

3 Comments

This hint was awsome. Ty very much.
A question after seeing this, does this allow me to create a custom map? not realworld info(like a map from lord of the rings) or is it limited to the earth map?
@Kostas They have exmple of Map of the Mall (jvectormap.com/examples/mall), you can use same for your custom map.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.