L
L
leventov2012-09-05 19:15:36
JavaScript
leventov, 2012-09-05 19:15:36

How to prepare a thematic site based on a map?

I want to make a map based website. Examples of such sites are here in the "live examples" section.
Peculiarities:

  • Users can create (perhaps edit) objects.
  • Social opportunities around objects.
  • Geography: Moscow, in the future, a maximum of CIS cities.
  • Without routes, polygons and other complexities on the map, just points.

Questions:
  • Which map service and API to choose? (I tend to Yandex.Maps.)
  • Which JS framework to choose and is it needed at all? I'm afraid that without a framework, there will be too much bike building. After all, as I understand it, it is desirable to make such sites “single-page” so that the map does not reload.
  • Are there any articles on the topic of creating such sites?
  • If you have done a similar project and would like to share your experience, please respond.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Tyslyatsky, 2012-09-05
@tbicr

I don’t have much experience, so a small application on phonegap with a map and I’m still writing one thematic site, one of the main features of which will be a map, and now I’m looking for the best solution for myself with a map.
Regarding the API: in your case, Yandex maps are perfect, but as an alternative, I can suggest looking at google maps api and based on OSM : leaflet , mapbox and openlayers .
Regarding the js framework: choose what suits your site best, regardless of the map, because the map is essentially a representation, the same as, for example, a list or a table. Perhaps some MVC framework will suit you well. You can find more than one article about JS MVC frameworks on habre .
From the comments, you can pay attention to the number of markers on the map and their grouping (you can also find more than one article on Habré on this topic, although there is a solution out of the box with grouping for Yandex maps), so that the points are given quickly and so that the dom does not slow down, especially you should pay attention to this if you plan to actively use it on mobile devices.
Also, if the main feature of the site is a map, then let's put it right on the main page with the points most needed by the user, but you yourself offered excellent examples of sites.
I hope my comment was of some help to you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question