TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Haziq Amjad
NA
5
1.6k
MapControl DevExpress
Jul 12 2018 6:08 AM
Hi
i am using the following code to get custom image on my offline map layer
DrawonMap(latitude,longitude);
public void DrawonMap(double localLat, double localLon)
{
try
{
mapItemStorage1.Items.RemoveAt(0);
}
catch
{
}
#region #MapCustomElementExample
var customElement = new MapCustomElement()
{
Location = new GeoPoint(localLat,localLon)
};
var image = new Bitmap(imageFilePath);
customElement.Image = new Bitmap(image, new Size(40, 40));
mapItemStorage1.Items.Add(customElement);
#endregion #MapCustomElementExample
}
whereas variable latitude and longitude are used to store data from my GPS. But on the map layer, i there s no image displayed.
i would appreciate if anybody could help
Reply
Answers (
0
)
How to bind values on data grid view empty cells using c# wi
Download RDL files in to pdf file asynchronously,