Geographic Information Systems Asked by Morgan Ganerød on May 24, 2021
A colleague and I are trying to create a microscope software where we would like to display a video stream from a camera on the background on the MAP control using DotSpatial. The idea is to stream the video and use the GIS functionality in dotspatial to draw lines and polygons on top of the image.
The map control has a BackgroundImage property but I can’t figure out how to display an image. Are there someone out there with ideas on how to do this? This is how I tried to implement it in visual basic.net:
Dim picturePath As String = "C:135624.jpg"
Dim bm As New Bitmap(picturePath)
map1.BackgroundImage = ScaleImage(bm, map1.Height, map1.Width)
Optimistic regards
Morgan
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP