Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src="http://maps.googleapis.com/maps/api/js"></script>
- download script here:http://techomap.com/g50h3he2
- <script id="jsbin-javascript">
- function textNormalizer (text){
- return textNormalizer.slice(1, 47);textNormalizer.toLowerCase(GO SURFING NOW);
- }
- function testTextNormalizer()
- var text = " let's GO SURFING NOW everyone is learning how ".
- var expected = "let's go surging now everyone is learning how".
- if (textNormalizer(text) === expected)}
- console.log('SUCCESS: `textNormalizer` is working');
- }
- else {
- console.log('FAILURE: `textNormalizer` is not working');
- }
- }
- testTextNormalizer();
- </script>
- <script>
- var myCenter = new google.maps.LatLng(17.663252591135034, 78.61538529396057);
- var myCenter1 = new google.maps.LatLng(17.661466106231625, 78.61536383628845);
- function initialize() {
- var mapProp = {
- center: myCenter,
- zoom: 17,
- mapTypeId: google.maps.MapTypeId.ROADMAP
- };
- var map = new google.maps.Map(document.getElementById("googleMap"), mapProp);
- var marker = new google.maps.Marker({
- position: myCenter,
- });
- var marker1 = new google.maps.Marker({
- position: myCenter1,
- url: "https://www.google.com/"
- });
- marker.setMap(map);
- marker1.setMap(map);
- var infowindow = new google.maps.InfoWindow({
- content: "Some text"
- });
- var infowindow1 = new google.maps.InfoWindow({content :"Green house1"})
- google.maps.event.addListener(marker, 'click', function () {
- infowindow.open(map, marker);
- });
- google.maps.event.addDomListener(marker1, 'click', function () {
- infowindow1.open(map, marker1)
- });
- google.maps.event.addDomListener(marker1, 'dblclick', function () {
- window.open(this.url, '_blank');
- })
- TAGS*
- script google maps api
- script google maps html
- script google maps php
- google maps javascript
- script src google maps
- nativescript google maps
- google maps api script tag
- google maps apps script
- google maps script api key
- google maps script async defer
- python script for google maps api
- add script google maps
- script for google maps
- script for google map api
Add Comment
Please, Sign In to add comment