What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-14 16:10:08
google maps places autocomplete api
<input type="text"required id="autocomplete"> <script> function initAutocomplete() { new google.maps.places.Autocomplete( (document.getElementById('autocomplete')), {types: ['geocode']} ); } </s... Add solution -
Other 2022-02-22 13:35:05
contact us page with map in middle
<!--Google map--> <div id="map-container-google-2" class="z-depth-1-half map-container" style="height: 300px"> <iframe src="https://maps.google.com/maps?q=chicago&t=&z=13&ie=UTF8&iwloc=&a... Add solution -
Javascript 2022-02-13 05:20:08
how to find the current date and time of a city in js
var loc = '35.731252, 139.730291' // Tokyo expressed as lat,lng tuple var targetDate = new Date() // Current date/time of user computer var timestamp = targetDate.getTime()/1000 + targetDate.getTimezoneOffset() * 60 // Current UTC date/time expressed as s... Add solution -
Javascript 2022-01-27 21:31:02
lity popup
<a href="https://farm9.staticflickr.com/8642/16455005578_0fdfc6c3da_b.jpg" data-lity data-lity-desc="Photo of a flower">Image</a> <a href="#inline" data-lity>Inline</a> <a href="//www.youtube.c... Add solution -
Python 2021-11-08 09:41:28
python json web request
import requests url = 'http://maps.googleapis.com/maps/api/directions/json' params = dict( origin='Chicago,IL', destination='Los+Angeles,CA', waypoints='Joplin,MO|Oklahoma+City,OK', sensor='false' ) resp = requests.get(url=url, params=p... Add solution -
Javascript 2021-10-23 18:20:08
angular agm
Step 1: Creating new project Create a new project using command ng new gmaps-ng5 Step 2: Install Google Maps types for typescript support. Run command npm install --save @types/googlemaps Step 3: Link Google Maps JavaScript CDN inside index.html <scrip... Add solution
Best helpers
Shachna
+5
Cali
+5
Veirtimid
+5
Anon8889
+5
Sardathrion
+5
Nuria
+5
Tony Ong
+5
Mike Adams
+5
PoundingRain
+5
Zhengyue
+5
Shahar Tene
+5
Kang
+5
Altexpape
+5