Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the sensor parameter #231

Open
gilberto-torrezan opened this issue Feb 19, 2016 · 8 comments
Open

Remove the sensor parameter #231

gilberto-torrezan opened this issue Feb 19, 2016 · 8 comments

Comments

@gilberto-torrezan
Copy link

Currently I'm receiving this warning every time I run my app with the GWT-Maps-V3-Api:

"RetiredVersion, SensorNotRequired: https://developers.google.com/maps/documentation/javascript/error-messages"

The solution is to remove the sensor parameter when loading the API.

@igor-korotkov
Copy link

Same warning.
Also "RetiredVersion" warning is there because API version used in this library (3.9) is retired and 3.21 is received instead.
If you specify API Version as "v=3.0" you will receive latest Frozen Version (the oldest one but not yet retired release)

Could you update API Version please?

@kevzlou7979
Copy link

+1

@tj-recess
Copy link

The project is dead. Latest commit 7f1db9d on Jun 3, 2014
Better fork out your own version or ditch gwt and use regular JS maps api.

@gilberto-torrezan
Copy link
Author

Is there any official, or at least well maintained GWT Google Maps project? "ditch gwt and use regular JS" is not an option when your project is written in GWT - a wrapper would be needed anyway.

The once official GWT Google APIs is dead as well.

@tj-recess
Copy link

I fell into this trap a year back. Fortunately, I had independence of choosing the framework and using JS (angular) seems like a decision I should have taken since the beginning (even though I knew very little about JS)

Anyway, you can call regular JS functions from GWT - http://stackoverflow.com/questions/11986462/calling-javascript-function-of-js-file-from-java-gwt-code so better use latest javascript library from google.

@gilberto-torrezan
Copy link
Author

I'm quite aware that you can call JS functions from GWT, that's what this project does anyway. The problem is that I need to map each function, each parameter, to the GWT call (in other words, "build a wrapper"). I'm looking exactly for this: a wrapper, not a complete implementation of Google Maps API in GWT (that would be insane).

I'm still to find why there's advertising of Angular in any place where GWT is mentioned. Do you have a bot that notifies you "look, another post with the term "GWT" detected, click here to go to the page and talk about Angular..." ?

-_-"

@twistedpair
Copy link
Collaborator

@gilberto-torrezan @tj-recess You're correct. This project is not being updated.

It was created for all the reasons you mention, including the lack of an official GWT supported Maps lib. It has not been kept up to date as I've not used GWT professionally since 2013. Keeping a wrapper for a very large API like GMaps is a PITA as they rev the API monthly or faster. I had to have a scraper monitor the API docs, save diffs to an SCM, and use those diffs to keep updating the lib (they have release notes, but they're not exhaustive).

The various problems reported can be fixed if you fork the lib. If someone is serious about maintaining the library, they should contact @branflake2267 as he's the creator/owner. I work 80 hours a week at two startups and simply don't have the time. My apologies, as every time I see a defect here I really do want to grok the code base and fix them all.

@branflake2267
Copy link
Owner

Patches are welcome. Fork, modify and submit a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants