Update : 3/2018 AR enabled version with ARKit available here
Suprise, iOS 9 MapKit finally enables flyeover mode with WMS overlays ! I have used my github MapKit sample and only set in MapViewController mkMapView.mapType = MKMapTypeHybridFlyover;
Update : 3/2018 AR enabled version with ARKit available here
Suprise, iOS 9 MapKit finally enables flyeover mode with WMS overlays ! I have used my github MapKit sample and only set in MapViewController mkMapView.mapType = MKMapTypeHybridFlyover;

update 2025 :iKatastr2 již není dostupný na App Store, použijte prosím webovou aplikaci ikatastr.cz, která je pro mobilní zařízeni optimalizována. Pokud byste chtěli tuto verzi zpět, napište mi proč.
iKatastr2 update je na App Store ! Diky všem, kteří jej používají a podporují tento projekt. Těší mě, že se aplikace hojně používá – a to byl také hlavní důvod aktualizace aplikace.
Tento update je udržovací – obsahuje rekompilaci na nejnovější iOS a zároveň stále podporuje iOS od verze 6. Byla aktualizovaná knihovna Google Maps SDK a opraveny drobné chybky. Můžete zde napsat své názory, komentáře a ještě lépe přímo na App Store iKatastr2 ocenit – to je jediná měna, kterou můžete za aplikaci, která je zdarma “zaplatit” – a věřte, že každý pozitivní ohlas dodává vývojáři palivo, smysl a chuť v tom pokračovat a třeba i něčím novým překvapit 🙂
or no ? … how to explain this picture ? iKatastr was indeed attempt to introduce new term for accessing cadastral data in Czech Republic, and it launched on iOS, Android and web 5 years ago, no public advertising, no ads at all… Anyway I like this picture, and it is kind of surprising that GISCloud nor mangomap doesn’t enjoy the same level of trending according to Google Trends. I think reality is different
..let’s look on another measure – site visits using simlarweb.com
Looks like Google Trends takes into consideration # of visits and is more weighted than media coverage ? Or does the mobile presence of app iKatastr adds so much ‘ads’ to the final chart ?
…před 20 lety jsem tuto knihu našel na stole v jednom starém, opuštěném domě v Brně, dodnes se k ní vracím jako k pokladu…

Breviář PŮJDE TO ! ING J. SOLAR, Praha 1938, 3. vydání
First time 100K visits over month period. 20M clicks & reaching 3M sessions overall.


*** update IV/2017: from comment below, check this great raster plug-in from Victor Veralde Gutiérrez too: https://github.com/IHCantabria/Leaflet.CanvasLayer.Field/ ***
I have got great, absolutely amazing joy today from my own open source experiment. In 2014, nearly 2 years ago, I have published on GitHub (gist) L.CanvasOverlay a small class to handle generic drawing on top of Leaflet, I was thinking let’s try to contribute back to the open source with this little snippet – I thought would be useful so I have added little description. Original blog post here: http://blog.sumbera.com/2014/04/20/leaflet-canvas/
After few months later I found it is used on http://windyty.com one of the best 2015 geo-visualization with huge popularity. It is a small part of this great app, but makes me feel so good like I am part of it, I am looking on something where is my small piece, small share…meaning of the effort, sense of publishing and open sourcing.
And today I have got echo it is used also in Marine National Facility here: http://www.cmar.csiro.au/data/underway.test/
This makes me so happy … and just came across this quote : “Revenue is a lagging indicator, usage is a leading indicator,” can’t remember, who just said that ? 🙂
update 07/2025: recovered demo here: https://www.sumbera.com/gist/js/leaflet/svg/scaled/SVGScaled.html
SVG can be drawn on map in much more faster way than traditional approaches, at least for points. Traditional approach re-position each element to fit into the view of the map, however SVG is “scalable” so we can use it and it performs much more faster for zoom-in/out.
Few considerations:
most important things happen in moveEnd event:
var bounds = this._map.getBounds(); // -- latLng bounds of map viewport var topLeftLatLng = new L.LatLng(bounds.getNorth(), bounds.getWest()); // -- topLeft corner of the viewport var topLeftLayerPoint = this._map.latLngToLayerPoint(topLeftLatLng); // -- translating to view coord var lastLeftLayerPoint = this._map.latLngToLayerPoint(this._lastTopLeftlatLng); var zoom = this._map.getZoom(); var scaleDelta = this._map.getZoomScale(zoom, this._lastZoom); // -- amount of scale from previous state e.g. 0.5 or 2 var scaleDiff = this.getScaleDiff(zoom); // -- diff of how far we are from initial scale this._lastZoom = zoom; // -- we need to keep track of last zoom var delta = lastLeftLayerPoint.subtract(topLeftLayerPoint); // -- get incremental delta in view coord this._lastTopLeftlatLng = topLeftLatLng; // -- we need to keep track of last top left corner, with this we do not need to track center of enlargement L.DomUtil.setPosition(this._svg, topLeftLayerPoint); // -- reset svg to keep it inside map viewport this._shift._multiplyBy(scaleDelta)._add(delta); // -- compute new relative shift from initial position // -- set group element to compensate for svg translation, and scale</pre> this._g.setAttribute("transform", "translate(" + this._shift.x + "," + this._shift.y + ") scale(" + scaleDiff + ")");
Test page / Gist : http://bl.ocks.org/Sumbera/7e8e57368175a1433791
To better illustrate movement of SVG inside the map, here is a small diagram of basic SVG states:
Recent months I have been programming “Green Space Analyzer” web app that shows modern approach to visualize and query multi temporal geospatial data. User see information in a form he can interact with and discover new patterns, phenomena or information just by very fast ‘feed-back’ of the UI response on the user input. When user selects for example certain area, all graphs instantly animates transition to reflect selection made, this helps to better understand dynamics of the change. Animation can be seen everywhere – from labels on bar chart, through colors change of the choropleth up to title summary. it creates subtle feeling of control or knowing what has changed and how it has changed. At HxGN 15 conference in hexagon geospatial keynote, CEO Mladen Stojic showcased it as part of the vision called Smart M.App, worth to look at (at 52:40 starts Smart M.App demo):
my Smart M.App ‘world tour’:

Simple & strightforward test of loading shape file and drawing it on MapKit on iOS8 using drawMapRect
GitHub:https://github.com/Sumbera/SHPonMapKit
Reading of shape file is performed by shapelib
NS_INLINE NSArray *getPolygonsFromShapeFile(NSString *shpFilePath) {
const char *path = [shpFilePath cStringUsingEncoding:NSUTF8StringEncoding];
SHPHandle shp = SHPOpen(path, "rb");
if (!shp) {
return @[];
}
int numEntities;
int shapeType;
SHPGetInfo(shp, &numEntities, &shapeType, NULL, NULL);
NSMutableArray *allPolygons = [[NSMutableArray alloc] init];
for (int i = 0; i < numEntities; i++) {
@autoreleasepool {
SHPObject *shpObject = SHPReadObject(shp, i);
if (!shpObject) {
continue;
}
if (shpObject->nSHPType == SHPT_POLYGON ||
shpObject->nSHPType == SHPT_POLYGONZ ||
shpObject->nSHPType == SHPT_POLYGONM ||
shpObject->nSHPType == SHPT_MULTIPOLYGON) {
int numParts = shpObject->nParts;
int totalVertexCount = shpObject->nVertices;
for (int n = 0; n < numParts; n++) {
int startVertex = shpObject->panPartStart[n];
int partVertexCount = (n == numParts - 1) ?
totalVertexCount - startVertex :
shpObject->panPartStart[n + 1] - startVertex;
int endIndex = startVertex + partVertexCount;
CLLocationCoordinate2D *coords = malloc(sizeof(CLLocationCoordinate2D) * partVertexCount);
if (!coords) {
continue;
}
for (int pv = startVertex, j = 0; pv < endIndex; pv++, j++) {
coords[j] = CLLocationCoordinate2DMake(shpObject->padfY[pv],
shpObject->padfX[pv]);
}
MKPolygon *singlePolygon = [MKPolygon polygonWithCoordinates:coords
count:partVertexCount];
[allPolygons addObject:singlePolygon];
free(coords);
}
}
SHPDestroyObject(shpObject);
}
}
SHPClose(shp);
return [allPolygons copy];
}
credits/inspiration:
drawing : http://stackoverflow.com/questions/17673410/mkmapview-with-multiple-overlays-memory-issue
parsing : http://www.al-tyus.com/blog/2013/10/14/mapkit-and-esri-shapefiles
shapelib: http://shapelib.maptools.org
dala: http://www.geoportalpraha.cz