googlemapwidgetv3's Introduction
googlemapwidgetv3's People
googlemapwidgetv3's Issues
Markers cuztomization problem in multi-client environment
Dear All,
I am having a tricky and upsetting problem with this very nice add-on.
Due to our project deadlines I could not migrate to Vaadin 7 + Google Map add-on for vaadin 7.
I am using tomcat 7 + java 1.7 + Vaadin 6.8.12 + GooglemapWidgetV3 to create a multi client web-app leveraging the Google Map visualization facilities but I am stuck to a very strange problem.
I am sure I am missing something (either in the add-on utilization or Google API use requirements) that is why I need urgently your help.
My app's strange behaviour is the following:
markers on the map are customized and displayed correctly (icon + infopanel) IF and ONLY IF I restart tomcat and I am the first user to login into the app. From that moment on, the other users map markers will not be able to be work correctly (info panel and icon customization do not react to runtime modification).
Is it a problem of Google API key. According to the explanation on add-on page, I don't need to set an API key into the widget.
Any idea/help/suggestion would be really appreciated.
Franco G
VGoogleMap bounds mistake
Hi, you have a mistake in VGoogleMap class, lines 471 and 472.
if (uidl.hasVariable(VAR_BOUNDS_NE)) {
LatLng sw = strToLatLng(uidl.getStringVariable(VAR_BOUNDS_NE));
LatLng ne = strToLatLng(uidl.getStringVariable(VAR_BOUNDS_SW));
LatLngBounds fitBounds = LatLngBounds.newInstance(sw, ne);
map.fitBounds(fitBounds);
}
NE string variable is assigned to sw and SW string is assigned to ne. This causes that, in server side, we have to swap parameters in the call to setBounds()
Thanks.
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.