Skip to content

Commit

Permalink
Added proper lat long co-ordinates for pop up
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrinivasa committed Jul 20, 2016
1 parent e6cb2be commit b53512b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@
})

var popup = new mapboxgl.Popup({closeOnClick: false})
.setLngLat([-96, 37.8])
.setLngLat([76.9398,13.3118])
.setHTML('<h1>Welcome to Gubbi!</h1><Close this message to continue.')
.addTo(map);

map.addControl(new mapboxgl.Geocoder());
map.addControl(new mapboxgl.Directions());
map.addControl(new mapboxgl.Geolocate({ position: 'bottom-right'}));
map.addControl(new mapboxgl.Navigation({ position: 'top-right' }));
map.setCenter([76.94, 13.4]);



Expand Down

0 comments on commit b53512b

Please sign in to comment.