Axis Order – What number comes first longitude or latitude?

What number comes first latitude or longitude? The answer is pretty simple - it depends on what software/library you are using. Here is compiled list of popular desktop/web/formats/programming libraries and the axis order they are using. This list was compiled after some time of using those packages and of course fixing bugs when you passing … Continue reading Axis Order – What number comes first longitude or latitude?

The Definitive Guide to Google Maps Markers

Here is the list of most common topics that everybody who's working with markers in Google Maps is facing from time to time. The list contains simple topics like adding/removing markers, but that's for the sake of having all subjects in one place. In each section there is a code snippets with optional link to live … Continue reading The Definitive Guide to Google Maps Markers

Server-side Markers clustering using PostgreSQL + PostGIS and NodeJS

In this post I will discuss clustering of points on server side using combination of PostgreSQL and PostGIS extension. Then there will be presented NodeJS application, which simply pulls data from database using set of latitude and longitude describing interested area. Why to cluster places? Suppose you are working on a website which allows everyone to pay … Continue reading Server-side Markers clustering using PostgreSQL + PostGIS and NodeJS

OpenLayers: Align label with Line Feature

In this short post we are going to discuss how to display label on the LineString. This can be useful if you want to add some information along the line, for example start and destination city: In our case the label would be OpenLayer's Text style for vector feature. It contains property named: rotation, which contains rotation in radians (positive … Continue reading OpenLayers: Align label with Line Feature