24 Commits

Author SHA1 Message Date
Alexandre Dubé
48d49390f7 Set configuration for dev5.mapgears.com 2016-03-11 10:47:34 -05:00
Alexandre Dubé
1bf02ae34f Include OpenLayers as node module instead of git submodule
In order to make the installation procedure much easier,
this patches makes openlayers no longer included as a git
submodule, but as a node module instead.

Also, the version of openlayers has been upgraded to
3.13.1, with an additional patch:
0a51e4ac32
2016-02-05 08:44:01 -05:00
Alexandre Dubé
7fe9f47d01 Add watchVector option 2015-11-14 08:02:26 -05:00
Alexandre Dubé
388c604f35 Fix CSS while Google Maps is active
When Google Maps is active, the CSS of the OL3 component changes.
This fix makes sure that the CSS stays 'as-is'.
2015-10-09 16:17:05 -04:00
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é
fc1b30c5a7 Trivial fixes to examples 2015-10-02 12:10:35 -04:00
Alexandre Dubé
e868a691ae Enhance quality of examples 2015-10-02 11:37:34 -04:00
Alexandre Dubé
0d96ace2dc Fix concept example - now clearer and more presentable 2015-10-02 11:24:00 -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é
2cbe76e72c Trivial - concept demo updates 2015-10-01 11:11:59 -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é
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é
0c9b849c5d Manage window resize in view herald
When the browser window gets resized, make sure that the
center of the gmap map follows the center of ol3, as they both
act differently:

 * on resize, ol3 stays that the center it is
 * on resize, gmap keeps the left corder where it is
2015-09-29 15:22:29 -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é
df3920edea Add dev5 gmap api key 2015-08-14 09:54:35 -04:00
Alexandre Dubé
93138eafa2 Add Feature herald and factory, update concept example 2015-08-14 08:45:39 -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é
9946ea9c03 Add and load GoogleMaps api v3.21 2015-08-11 15:53:07 -04:00
Alexandre Dubé
6e4cba901c Initial setup - greatly inspired from ol3-cesium 2015-08-11 15:02:52 -04:00