edina / fieldtrip-cobweb-project

A cobweb theme for fieldtrip app
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Tapping the Layers name is not centering the map in the tiles #131

Closed rgamez closed 8 years ago

rgamez commented 8 years ago

Download a layer, go to the map page and activate it, you'll notice that the map is zoomed and paned to the extent of the new layer, but if you move the map and try to deactivate/activate the layer again nothing happens, tapping the layer name (which should perform a similar action) triggers the following error in the console:

Uncaught TypeError: Object #<Object> has no method 'getLayerByName' 
gmh04 commented 8 years ago

available in 0.2.5