Skip to content

Identification of KML layer features without the help of OpenLayers #559

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

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

pakb
Copy link
Contributor

@pakb pakb commented Dec 4, 2023

so that it may work the same way when using Cesium

I had to split the deserialize function of EditableFeature in two to achieve this, as the "old" deserialize wasn't receiving JSON data directly but the OpenLayers feature. So there's now a static function for when we have an OpenLayers' feature, and one (that is used by the aforementioned one) whose task is only to transforme a JSON object into the relevant EditableFeature instance.

Test link

@pakb pakb force-pushed the feat_load_kml_data_async branch from 2432c97 to 70746e4 Compare December 4, 2023 13:38
@pakb pakb force-pushed the feat_identify_kml_feature_without_openlayers branch from d281cf6 to 7ad2d39 Compare December 4, 2023 13:39
@pakb pakb force-pushed the feat_load_kml_data_async branch from 70746e4 to 07818d3 Compare December 4, 2023 14:58
@pakb pakb force-pushed the feat_identify_kml_feature_without_openlayers branch 2 times, most recently from df4b1d6 to ade36e9 Compare December 4, 2023 15:26
@pakb pakb force-pushed the feat_load_kml_data_async branch 2 times, most recently from b71fd71 to 49b911d Compare December 5, 2023 07:35
@pakb pakb force-pushed the feat_identify_kml_feature_without_openlayers branch 2 times, most recently from deeaff0 to 4415735 Compare December 5, 2023 09:05
Base automatically changed from feat_load_kml_data_async to develop December 5, 2023 09:17
@pakb pakb force-pushed the feat_identify_kml_feature_without_openlayers branch from 4415735 to 64571ad Compare December 5, 2023 09:18
pakb added 2 commits December 5, 2023 10:48
so that it may work the same way when using Cesium

I had to split the deserialize function of EditableFeature in two to achieve this, as the "old" deserialize wasn't receiving JSON data directly but the OpenLayers feature. So there's now a static function for when we have an OpenLayers' feature, and one (that is used by the aforementioned one) whose task is only to transforme a JSON object into the relevant EditableFeature instance.
@pakb pakb force-pushed the feat_identify_kml_feature_without_openlayers branch from 64571ad to 55be236 Compare December 5, 2023 09:48
as it is not synced with current OpenLayers code, and modifying a line/measure does not work anymore in some cases (we cannot drag/edit some points from the line)
@pakb pakb merged commit 8d8d618 into develop Dec 5, 2023
@pakb pakb deleted the feat_identify_kml_feature_without_openlayers branch December 5, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants