-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add filter with webpack #2
Comments
I'll try to add an example with a filter ASAP. |
updated the webpack project to use [email protected] and [email protected], webpack 4 |
dear
i already use it but i don't know should i import something to make it work
, for now i used
import Crop from 'ol-ext/filter/Crop.js';
then
var crop = new Crop({ feature: f, inner: false });
osm.addFilter(crop); this line not working
|
Hello, |
Dear Jean
Thanks for help its working now , i appreciate your effort , and i have one
more question about example i have seen that doing some animation for
makers here
http://viglino.github.io/OpenLayers-ext/examples/map.boncing.marker.html,
but i didn't see it in new examples here http://viglino.github.io/ol-ext/
is it different library ? and how can i apply it with new library that you
create it in npm ?
Sincerely,
[image: photo]
*Ahmad Yacoub Hasan*
Senior GIS Consultant /Developer / Analyst
00962789007443 | [email protected] | Skype: a_yacoub <http://#> | Jordan
- Amman
<http://www.linkedin.com/in/ahmadyacoub/>
…On Sun, 29 Jul 2018 at 11:31, Jean-Marc Viglino ***@***.***> wrote:
Hello,
Here is an example using the Crop filter as ES6 module within parcelJS.
https://viglino.github.io/ol-ext-parcel-bundler/build/?lon=2.2&lat=50.48&z=9
Code is here:
https://github.com/Viglino/ol-ext-parcel-bundler/blob/master/js/filter/crop.js
@+
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALEAI4DxJ5_sZkWlTUV9LtlJ2RMaP4C7ks5uLXLsgaJpZM4VdbwN>
.
|
OpenLayers-ext use OpenLayers 2 and is now deprecated. |
There is no |
How to import addFilter method? |
Just import the filters. The |
please can you show us example how to use filter like crop on webpack version , i tried but with no luck i have error osm.addFilter is not a function
The text was updated successfully, but these errors were encountered: