 			fillOpacity: 0.5
 
 		marker.on 'click', () ->
-			console.log 'FANTOMAS'
+			console.log 'FANTOMAS', ad.id
+			onMarkerClick ad.id
+
 		marker.on 'mouseover', () ->
 			circle.addTo map
 		marker.on 'mouseout', () ->

		@coordFocus = coord
		map.setView coord, 14

	onMapClick: (callback) ->
		callback { # location
			lat: 0
			lng: 0
		}
	onMarkerClick: (callback) ->
		callback 0 # id





	markerFocus = null
	circleFocus = null

	# callbackHandlers
	onMapClick = null
	onMarkerClick = null

	ads = []

