Which api card would best support fictitiously defined cards?

I am exploring the possibility of creating a display tool for my alliance in an online game. The game is not based in the real world, so I'm not interested in the content of the available map tools, just the functionality.

At a minimum, I would like the map to display information about where the allied cities in the world are located. Ideally, I would like to be able to display information about the desired professions, levels of development and military operations. All this should be accessible for editing by users of the map.

I look at the google maps API and it seems that I could use it to accomplish my goals using my own map tiles with a custom defined map object and some custom overlays, but it looks like it will be a lot of setup work.

Is there any other tool that is better suited for this task?

+4
source share
4 answers

A List Apart has an article from the creators of EveryBlock.com . They use a full open source stack (client-side library, tile cache, map generator) as an alternative to Google Maps. It looks like it has exactly what you need.

+3
source

I would say that the Goole Maps API approach is not as complex as you imagine. The API provides a very nice interface for defining custom parameter sets for displaying your own maps.

This interface is actually quite easy to use. There is a detailed description of this here . When you create a GMapType object, you can specify a vector of URLs for your own graphic fragments, image labels and fundamentally change the display paradigm.

There are many examples on the Internet:

I believe that this is a really powerful way to implement your own maps on the Internet.

+1
source

There is an implementation of the Google map Oblivion gameworld - this can serve as a link.

0
source

Would it not be possible to define your own overlay with a KMZ file in Google Maps?

-1
source

Source: https://habr.com/ru/post/1277677/


All Articles