branflake2267 / GWT-Maps-V3-Api

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

LatLng no more supported #247

Open StefanoG-IBEX opened 1 year ago

StefanoG-IBEX commented 1 year ago

Hi.

on my project, from some days, I receive an error during the load maps with a SetCenter(LatLng) option:

com.google.gwt.core.client.JavaScriptException - (TypeError) : undefined is not a constructor (evaluating 'new $wnd.google.maps.LatLng(a,b,c)')

I use the latest api library gwt-maps-api-3.10.0-alpha-7 and from many hears the project is on-line, but from some days I receive this error.

someone can help me to understand what happened . thanks Stefano

StefanoG-IBEX commented 1 year ago

options = MapOptions.newInstance(); this is the command that create the error because on default have a settings also for LatLng values. with import com.google.gwt.maps.client.MapOptions;

what is the problem? is changed google maps policies or the library must be update?

thanks Stefano