25 Commits

Author SHA1 Message Date
Alexandre Dubé
782fe2d040 Fix label geometry update
When a feature geometry changes, update its label as well.

This PR also includes minor changes to enhance the performance
of rendering a label.
2015-10-09 10:57:48 -04:00
Alexandre Dubé
7426267e25 Fix \#4 - Deal with rotation
This patch introduces documentation about the limitations of this
library, notably the 'rotation' that should not be enabled, as
mentioned in \#4.

A new `LIMITATIONS.md` file was added to document this.

A new utility method that returns the default interactions that
include  only the ones that are recommended
(well, more like 'exclude' those that aren't).
2015-10-07 14:28:05 -04:00
Alexandre Dubé
e868a691ae Enhance quality of examples 2015-10-02 11:37:34 -04:00
Alexandre Dubé
203329829f Fix class documentation (trivial)
The comments have been adjusted to fit the state of the project.
2015-10-02 10:29:35 -04:00
Alexandre Dubé
81e895c37b Demonstrate circle styling 2015-10-01 15:20:06 -04:00
Alexandre Dubé
e69a159b82 Google data styling - wip
Fix stroke and width opacity that were not working properly
2015-10-01 11:58:59 -04:00
Alexandre Dubé
2cbe76e72c Trivial - concept demo updates 2015-10-01 11:11:59 -04:00
Alexandre Dubé
4365e97855 Google data styling - wip
Support point style with icon image
2015-10-01 10:50:48 -04:00
Alexandre Dubé
ddafc262be Google data styling - wip
Support overriding style at feature level
2015-10-01 09:31:54 -04:00
Alexandre Dubé
f58b3b6f0a Google data styling - wip
- at the layer level only
 - only polygon and linestring are currently supported (strokeColor,
   strokeWeight, fillColor) Opacity is already supported in CSS3 color
   definition when using RGBA.
2015-10-01 09:15:42 -04:00
Alexandre Dubé
ca7ae120c9 Add toggle method
Also, avoid error due to events not being unlistened yet.
2015-09-30 13:56:40 -04:00
Alexandre Dubé
60b5037e27 Handle linestring and polygon changes 2015-09-30 11:45:51 -04:00
Alexandre Dubé
74d096adae Handle geometry change (point only) 2015-09-30 10:21:12 -04:00
Alexandre Dubé
37f7e708fd Add feature herald
The feature herald takes care of managing a single feature at
a time.
2015-09-30 09:10:06 -04:00
Alexandre Dubé
0285454ef9 Manage visibility of Google layers for activation/deactivation 2015-09-29 11:38:30 -04:00
Alexandre Dubé
4880652637 Add more control over the concept example
To show how the addition/removal of google layers affect the map.
2015-09-29 10:23:42 -04:00
Alexandre Dubé
4afb73f0ee Re-factor - activate Google Maps
This patch introduces the activation of GoogleMaps, which sends
the div in which GoogleMaps is rendered inside the ol3 map target,
and the ol3 map gets added as a google maps control
2015-09-28 14:47:44 -04:00
Alexandre Dubé
71c4c7cffd Re-factoring - Use GoogleMaps below OL3
Having a GoogleMaps map purely working by writing OL3 code would
not work because of the different kinds of interactions required
to happen on the GMaps map.

This re-factoring introduces a new approach: do like what was made
in the past with ol3 v3.0.0, i.e. have GoogleMaps include a OL3
map as a control that takes 100% of the size.

This work is still in progress...
2015-09-28 11:44:05 -04:00
Alexandre Dubé
c4719acd55 Use a custom icon for concept demo 2015-08-14 09:14:30 -04:00
Alexandre Dubé
93138eafa2 Add Feature herald and factory, update concept example 2015-08-14 08:45:39 -04:00
Alexandre Dubé
c069b853b4 Add View and Feature(not completed) herald 2015-08-12 17:04:27 -04:00
Alexandre Dubé
0885a4ac92 Bind ol3 and gmaps center/zoom together 2015-08-12 09:07:09 -04:00
Alexandre Dubé
409b736130 Toggle between GMap and OL3 maps 2015-08-12 08:48:49 -04:00
Alexandre Dubé
db2c89a2aa Add a GoogleMaps map to the example 2015-08-11 16:11:48 -04:00
Alexandre Dubé
6e4cba901c Initial setup - greatly inspired from ol3-cesium 2015-08-11 15:02:52 -04:00