-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Widget and Feature Enhancements #244
Conversation
# Conflicts: # src/dymaptic.GeoBlazor.Core/Scripts/jsBuilder.ts
@@ -352,6 +380,11 @@ public async Task<FeatureEditsResult> ApplyEdits(FeatureEdits edits, FeatureEdit | |||
return await JsLayerReference!.InvokeAsync<Domain?>("getFieldDomain", fieldName, feature); | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs a comment
{ | ||
try | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there is not a pro module, will the try block throw an exception every time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will, however, this method is only reached if you are trying to nest an otherwise invalid component, as the inherited override
implementations correctly register all known child components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Widgets
Widgets
anywhere in Razor markup, using a newMapView
reference parameter.ExpandWidget
now supports custom HTML child content in Razor markup, and can combine a child widget and custom HTMLLayers
FeatureLayer
propertiesApiKey
blendMode
legendEnabled
popupEnabled
FeatureLayer.GetCapabilities
VisualVariables
forColor
andOpacity
MapView
AddWidget
andRemoveWidget
as public methods.Pro Support
MapView.AddLayer
andLayer.Load
for Pro JS moduleProProperties
inMapComponent
Significant new unit tests surrounding changes