Comments (14)
Also, I'm using GWT v2.5.0.
from gwt-maps-v3-api.
Just to confirm, I see the $wnd.google.maps.places is undefined. Do you have the places js loaded in the ajax loader?
from gwt-maps-v3-api.
You're right, I might have missed it. I'll check once I'm home. Thanks!
from gwt-maps-v3-api.
Sounds good. Let me know if that fixes it. :)
from gwt-maps-v3-api.
Fixed :) But I found a potential bug in the autocomplete functionality :) When I use autocomplete in a PopupPanel I cannot select any of the autocomplete options with the mouse, only with the keyboard. I've tested this thoroughly by putting the same exact code outside of the PopupPanel and mouse selections work. I also put your example in the PopupPanel and I get the same behavior -- mouse selections are unresponsive (putting it outside the PopupPanel works).
from gwt-maps-v3-api.
GWT has several issues open with popup panel, I wonder if one of them applies. Do you have modal enabled/disabled?
from gwt-maps-v3-api.
Yes, that was it! I just set 'modal' to false and it started working. I guess it's a GWT PopupPanel issue, rather than gwt-maps one.
from gwt-maps-v3-api.
Can I close this?
from gwt-maps-v3-api.
I'll close it. Thanks for your help! :)
from gwt-maps-v3-api.
Good job.
from gwt-maps-v3-api.
Hi odessutv,
How did you actually load the missing places library with ajax loader?
Thanks in advance!
from gwt-maps-v3-api.
This is how the Places is added to the loader.
from gwt-maps-v3-api.
Thank you!
from gwt-maps-v3-api.
Hello, thanks for all this great information.
I just have another request, is it possible to add manually the places library in the ajaxloader within the GoogleMap jar ?
Actually, I have a problem with the LoadMapApi() method. Strangely, I am able to load the map just with the draw method. Still, I can't make the Autocomplete feature work and I get the error
"com.google.gwt.core.client.JavaScriptException $wnd.google.maps.places is undefined"
Thanks for any help.
from gwt-maps-v3-api.
Related Issues (20)
- problems using set and get key-value pair of MVCObject HOT 1
- Error when hitting enter in Textbox in form which uses Autocomplete HOT 1
- Navigation controls broken in IE
- MapTypeStyler does not support color and weight options
- AutoComplete component restrictions
- place result with pagination search retuns only 60 results
- Invisible maps on Chrome HOT 7
- DirectionSevice
- Google Fusion Table Styling in GWT
- Google maps API access from China HOT 7
- Remove the sensor parameter HOT 8
- PlaceChangeMapEvent: All fields are undefined
- ```yaml HOT 1
- Loading Map without loadMapApi() HOT 5
- Google Map works on local host but doesn't work on web server HOT 2
- No API Keys HOT 3
- Error in AutoComplete
- Only suggestions , no autocomplete
- sdf.spatial.plot colors keep changing
- LatLng no more supported 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 gwt-maps-v3-api.