Comments (6)
I'll do
var gmap = addresspickerMap.addresspicker( "map");
var gmarker = addresspickerMap.addresspicker( "marker");
var circle = new google.maps.Circle({
map: gmap,
radius: 16093, // 10 miles in metres
fillColor: '#AA0000'
});
circle.bindTo('center', gmarker, 'position');
from jquery-addresspicker.
is that ok?
could we close that issue?
from jquery-addresspicker.
Yes, it works.
Thanks!
from jquery-addresspicker.
@sgruhier Is there a way to update the radius using a select, tried a few things on my own but no luck with it.
Thank you.
from jquery-addresspicker.
Thinking out loud, on API doc https://developers.google.com/maps/documentation/javascript/reference#Circle you can do circle.setRadius(NEW_RADIUS)
it should work
from jquery-addresspicker.
@sgruhier your thoughts out loud did solved my task :) I saw your response just the day you posted it, but was working on something else and got back to this 10 minutes ago, in 3 lines of js I got it working. Thank you.
from jquery-addresspicker.
Related Issues (20)
- IE9 + Later JQuery HOT 7
- jquery-addresspicker added to twitstrap resources HOT 1
- Getting this new error : not allowed by Access-Control-Allow-Origin. HOT 2
- Configure to find cities only. HOT 5
- Map Update by Address
- [enhancement] Add missing bower.json.
- jQuery UI - v1.8.24 HOT 1
- Reverse Geocoding to show current address before moving marker HOT 2
- New address picker based on typeahead HOT 3
- components filter does not work HOT 1
- Doesn't work on Firefox 12 HOT 3
- What if i have to use two markers in the same map?? HOT 5
- Problem with map inside Jquery Steps HOT 2
- Google Places HOT 4
- specification of an administrative area in a componentsFilter
- when make build with gulp bower files not working
- Regarding to timezone
- Is it possible to get suggestions without state/area
- How to make "Reverse Geocode" to be True by default? HOT 2
- Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-addresspicker.