Sergueï
Sergueï

Reputation: 23

Custom game map working like Google Maps

I'm looking for a way to create a zoomable, draggable and customisable (add pins, draw trails, etc...) map using my own pictures (taken from various game maps).

I've found out about OpenLayers but I'm completely lost on how to use my custom files. I've also heard about tiles naming convention but I'm a bit lost too

Could someone provide some input on what external script I could use (does OpenLayers fit my needs?) and how should I get started?

Thanks in advance

Upvotes: 1

Views: 1182

Answers (1)

Titouan D.
Titouan D.

Reputation: 476

Google has a pretty cool exemple of their Google Maps API on the moon. You can find it here and it should be enough to get you started. It's using custom images and the code is documented, have fun :)

I never used OpenLayers so I can't really help on that part, but you should try Google Maps first and see if It fits your needs. If not, you'll probably have more specific questions which OpenLayers might answer.

Upvotes: 1

Related Questions