branflake2267 / GWT-Maps-V3-Api

GWT Maps V3 Javascript Bindings
Other
144 stars 113 forks source link

Remove the sensor parameter #231

Open gilberto-torrezan opened 8 years ago

gilberto-torrezan commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

+1

tj-recess commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

@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 commented 8 years ago

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