Is there any option to add a scale bar to the map? - azure-maps

Is there any option to add a scale bar to the map?
I read the documentation but I couldn't find anything about this.

There is no built in scale bar yet, but we do plan to add a control for this soon. I'll take a look at creating a code sample on how to create a custom one.
Update: I've added a code sample to the official Azure Maps code sample gallery here: https://azuremapscodesamples.azurewebsites.net/?sample=Simple%20Scale%20Bar%20Control

Related

How to create behaviour flow charts?

Do you know any way for creating Behaviour flow charts like those used in google analytics?
ie:
I'd like to report the behavior of objects along their lifecycle.
Thanks a lot!
You can try to find existing custom visual that does that, for example here.
If there are none, your only option is to develop your own.
Many PowerBI visuals use D3 engine, so you may have luck in utilising an existing D3 visual, for example this one .

Salesforce Case Feed - Creating/Adding Custom Tools

Within the console on a feed layout, we can add tools to the page such as the inline article tool. The feed view setting options with the page layout edit suggest (i.e. help text says "select the tools to make available in the center column of the page") that more than one tool can be created using code and added to the page layout (i.e. within the feed directly below the publisher actions but above the feed items). There is even a multi-select control to move the tools from available to selected, but...
I cannot find any documentation that discusses how to create the tools or how to make them available within the setup menu. Can you provide any insight to if this is possible and if so how to do it?
See example screens below...
thanks
jf
Please chk it - https://resources.docs.salesforce.com/200/10/en-us/sfdc/pdf/salesforce_case_interaction_setup_cheatsheet.pdf
Hope it helps.

Controls for creating a map?

I need to find a control that can be used to construct a map.
I'm looking for something where a user can specify a location and then drag markers from a toolbar onto the map. Loading/saving would be a plus
I tried Telertik Map , IG and also Component One but I'm not 100% sure about these products.
You might try hosting Google Maps in WPF; it has a fairly complete API.
Any of the components you listed would definitely get the job done (personally, I prefer Infragistics), but they will be expensive.
Finally, you could head a different direction and try to go open-source. SharpMap might be worth investigation. This question has more details.
There is now a WPF Bing Maps Control
http://www.bing.com/community/site_blogs/b/maps/archive/2012/01/12/announcing-the-bing-maps-windows-presentation-foundation-control-v1.aspx

How do I display a document (rtf/doc/pdf/xps) in Silverlight? I need documentation in my app

This is a hard question to search for as "help" and "documentation" generates a lot of false hits. I basically want to show some simple documentation or help in my Silverlight app. And I don't want to write this in XAML, obviously, so I would love to be able to add a WordPad (or similar, free and easy) document to my app that would get display with some basic formatting in Silverlight.
Any ideas?
Try embedding an iframe using an iframe overlay, then you can load any HTML-like content.
There is an excellent explanation of how to do this here:
http://www.wintellect.com/cs/blogs/jlikness/archive/2010/09/19/hosting-html-in-silverlight-not-out-of-browser.aspx

Looking for a simple Silverlight map component

I am looking for a light-weight map component that displays a map of the US and allows users to click on a State and see information pertaining to that state. The data I want to display is in my database. I just need to know what state was selected so I can display the detail. This is something I am doing to get familiar with Silverlight.
All the searches for Silverlight/ Maps I have done so far have pointed me at solutions that are far more complicated than I need. My perception is that using Bing Maps to do this simple task would a waste of the features provide by Bing.
Anyone know of such a Component? Am I wrong that Bing Maps is not the right tool for the job?
TIA!
If you have access to Expression Studio (specifically Expression Design), creating maps as vector based images is quite easy. Poly-paths in Xaml are also relatively efficient to store and serve up compared to images.
You import a map as a background image and use the pen tool to dot-to-dot trace around the country. Combine all those path segments into a single path. Then create a separate poly-path for each state (close them to allow for a fill).
It will take a few hours to build all this (I know having done this for a world map country selector... took 4-5 hours solid for the one polygon styled below):
By having each state represented by a filled polygon-path highlighting (by changing the fill colour) is trivial on mouse-enter/mouse-leave events.
If you want stylistic map, remove the image, otherwise use transparency on the state polygons to show the map through the roll-overs.
Update:
And if you get yourself a graphic tablet and pen this sort of point-to-point work is about 5 times faster than with a mouse!
The interaction with Bing Maps in Silverlight is really strong and provide you with easy communication between the map and your data. I would give Bing Maps a try.
I'm not sure if you've already come across this, but it seems you can also use the control with custom tile sources. Here are a few resources.
http://www.cadmaps.com/gisblog/?p=54
http://developers.de/blogs/damir_dobric/archive/2009/11/16/implementing-custom-map-in-silverlight-map-control.aspx
http://labs.mandogroup.com/skinning-the-silverlight-bing-maps-control/
Custom Rendering in Bing Silverlight Control

Resources