2GIS fully updated . For the first time, we showed it
on November 19, with a reduced functionality and, if not critical, but with errors - after all, it was a stage of public beta testing.
In five months, of course, we fixed a lot and finished it. The results have already been sent to press releases. For example, about the fact that we have 400,000 photos and 500,000 reviews, or that we know the entrances to nearly one million organizations in the country.
Unfortunately (and perhaps fortunately), the format of the press release does not allow us to tell a little more details, be proud, or admit our mistakes. Let's try to do it under the cut.
')
Directory Design
Every day, 2GIS learns more and more information about the city and companies. At some point we collected it so much that it became cramped in the old design. In the new - we tried to make the most important data for selection immediately visible.
Compare the old and new cards.
Closed
It was | It became |
---|
 |  |
Open
It was | It became |
---|
 |  |
Information is structured and with a slight change in size, the card has become more readable.
Photo
Now in 2GIS, indeed, almost 400,000 photos. Some of them are from companies, and some are custom. Most of them in the rubrics about catering. Less - in the section "Beauty and Health." This is due to the fact that 70% of new photos are now fashionable, but completely useless selfies. The masterpieces of modern art are ruthlessly "cut out" by moderators.
Some technical points. In November, the photographs worked on the
Photoframe of Artyom Polikarpov. The photoframe was good, but it looked more like a first-class Swiss knife, and we needed one with the blade sharpened under us. So today they are working on our
Photor engine. If your tasks coincide with ours, then you can try it - it is open and laid out on the githab.
Search
We ourselves are not satisfied with everything, but now I want to call it truly City. I mean, we find everything - from
popular names to
cafes with Wi-Fi (but we still don’t find them with Wi-Fi, but this will be corrected).
Of course, we can talk a lot about specifying filters. For example, the query "Eat" can be narrowed down to indecently accurate.

Location Search
By car
Firstly, it
appeared in the online version , which means it is now in all versions of 2GIS.
Secondly, it is possible to set intermediate points of the route. This is especially useful if you need to deviate a little from the direct route.
By public transport
Yes, we have previously built a route exactly to the selected point. But if our algorithms believed that walking is faster than transport, then we could send a walk through the water.

Now your shoes will remain dry.

In the future, we plan to connect the entrances with routes and we will bring them to the door handle.
Ruler
Outwardly, it is no different from the one we
announced in the old version. However, there is a slight difference. “Troika” (this is the name of the old version) worked on
OpenLayers , and the Four - on
LeafLet . Actually, that's why we rewrote it from scratch.
Process
If you really want to look flexible, young and beautiful, then you need to be such. For us, this meant that we needed to learn how to release several times a day. So the online team implemented Github Flow. If earlier the word “release” meant pain and coffee for us, now it is a simple “routine” process that does not require much effort. We release what we want and when it is needed.
Details about the Github Flow
fobos told at DUMP-2014 and later write about it separately.
Framework and work on search engines
We have been using javascript for a long time, and in fact 2GIS-online is a client to
the 2GIS API , which
renders data in the browser. In the previous version of the project we had to keep a separate, static version of 2GIS-online, which worked in PHP and served the same purpose - indexing by search engines. In the new version, we completely switched to NodeJS. A single code is executed on the server and on the client. Due to this, our new version without any intermediate crutches is equally well displayed to both live users and different search engine robots.
After the release in open source, we will tell about the framework in more detail.
What's next?
We would not be an IT company if after the release we didn’t have any technical debts or tickets for bugs. Rolled up our sleeves and continue to work. We welcome feedback.