Tag Info

New answers tagged

2

Here is a very simple demo of this concept: https://dotnetfiddle.net/KhMIxV What you are going to want to do is make it so that your array in the controller can be translated to an array in javascript. This process is facilitated through serialization. The most common way (and one which should be available to your controller inherently) is through JSON.Net, ...


0

If the ShapeFiles are not large you can parse these into another format and overlay them on Bing Maps as raw shapes. I have a good code sample on how to do this as part of a larger project I've been working on of spatial tools for Bing Maps here: https://mapstoolbox.codeplex.com/ If your shapefiles are large it is best to import them into a spatial database ...


3

First of all, OpenLayers 3 doesn't have a LayerSwitcher control. In OpenLayers 2 however, there is a .olControlLayerSwitcher style which can be animated by JQuery without any further styling options. You can use JQuery's animate function for this task: $(".olControlLayerSwitcher").animate({top: "55px"}); There is no need for the 30px animation, except if ...



Top 50 recent answers are included