ThinkGeo.com    |     Documentation    |     Premium Support

Drag and Drop from a loaded image list is not working

I am attempting to convert an existing WPF project to Blazor. I followed similar logic to allow dragging and dropping of an object on the map that should go to the center of the map from a list of loaded icons. I am currently doing this by simply loading a set of bmp files, with a bit of conversion, and the dragging a file onto the map. The process checks the filename that was dropped and looks in the saved list to get the converted icon. Just a simple test to figure some things out but the icon never appears on the map. I have attached my current source.

Thanks,
James R.

MapTestBlazor2.zip (209.0 KB)

Hi James,

We made some changes, try this one: MapTestBlazor2_modified_0120.zip (209.1 KB)

Thanks,
Ben

Ben,

That got it, now I just need to work on initial position and being able to move them after they are placed.

Thanks,
James R.

Cool! feel free to let us know if you have any questions.