Custom map (tile) sources


#1

Hi all,


I know it's not possible to add a custom map source via the web interface, but can someone provide pointers for doing this in code?


Specifically, I would like to add an OSM-like map source (such as opencyclemap, hikibikemap)?


Any help would be greatly appreciated.


Thanks,

Dima



#2

Hi dimka,

The current iteration of the platform supports OpenCycleMap. However you can also add your own base layers. This can be achieved via a plugin that hooks into the

Code:
ushahidi_filter.map_base_layers
event. You can see all the supported base layers in
Code:
application/helpers/map.php


#3

HI Samuri, How is your project going? We have resources and a few ways to connect on our wiki.

https://wiki.ushahidi.com/display/WIKI/Contact+Us

Hope you were able to find a solution. I agree that map layers is key to showing the data in many ways.