Google Geocomplete

Description
This plugin generates an autocomplet from an input field, so that you can retrieve an address and its associated geodata from Google and fill it into input fields.
Initialize
Include libraries
<script src="https://maps.googleapis.com/maps/api/js?key=<strong>YOUR_API_KEY</strong>&libraries=places"></script> <script src="jquery.js"></script> <script src="google-geocomplete.js"></script>
Create your Autocomplete Input field
<input class="form-control" id="formatted_address" data-geo="formatted_address" value="">
Setup your fields, you can use type=”hidden” too
<input class="form-control" id="street" <b>data-geo="street"</b> name="" value=""> <input class="form-control" id="latitude" <b>data-geo="latitude"</b> name="" value=""> <input class="form-control" id="longitude" <b>data-geo="longitude"</b> name="" value="">
Call the plugin
<script>
$(function() {
$('.autocomplete').googleGeoAutocomplete({
OPTIONS
});
});
</script>| Type | JavaScript Script |
|---|---|
| Author | altsniffer |
| Category | Javascript / Miscellaneous |
| Price | $7 |
| Sales | 64 |
| Rating | 5.00 from 3 ratings |
| Published | Jul 7, 2018 |
| Last Update | Jul 7, 2018 |
| Compatible Browsers | IE11, Firefox, Safari, Opera, Chrome, Edge |
| Compatible Software | jQuery |
| Source Files Included | JavaScript JS |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Perceptle
Perceptle is a daily browser-based game that challenges you to test your sensory intuition through five quick estimation and rhythm-based rounds.
Other · 3,957 views · 16 clicksOther · Week 47 · 3,957 views · 16 clicks
🥈
Free LinkedIn Likes From Real
Get free LinkedIn likes on your posts from real members who react by hand. No
SaaS · 4,075 views · 18 clicksSaaS · Week 47 · 4,075 views · 18 clicks
🥉
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 11,557 views · 80 clicksSaaS · Week 47 · 11,557 views · 80 clicks
#4
aaas.market
407 reliable micro tools for solo founders, marketers and creators. They work in your browser
SaaS · 3,936 views · 7 clicksSaaS · Week 47 · 3,936 views · 7 clicks