Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function initMap() {
- var myLatLng = { lat: 17.446507, lng: 78.383033};
- var myLatLng1 = { lat: 17.428888, lng: 78.384444 };
- var map = new google.maps.Map(document.getElementById('map'), {
- zoom: 18,
- center: myLatLng,
- });
- var map = new google.maps.Map(document.getElementById('map'), {
- zoom: 14,
- center: myLatLng1
- });
- var marker = new google.maps.Marker({
- position: myLatLng,
- map: map,
- title: 'Asset 1',
- animation: google.maps.Animation.DROP,
- });
- marker.addListener('click', toggleBounce);
- var marker = new google.maps.Marker({
- position: myLatLng1,
- map: map,
- title: 'Hello World!',
- icon:image
- });
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement