archive-com.com » COM » M » MAPDOTNET.COM

Total: 438

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Mouse Hover Event - MapDotNet
    map on my webpage and restrict its size to 500 x 500 I want to display the coordinate of the hover pointer over the map var container myMap container rimMap zoomLevelOnCreate 11 stopPointerEventPropagation false pointerHoverAction function pt var currentPt isc rim sphericalMercator deprojectToLatLon pt mouseHover text currentPt getY toFixed 6 currentPt getX toFixed 6 div id myMap style height 500px width 500px div div Coordinates br li id mouseHover li div However the coordinates are still changing when I move my pointer outside of the map region Is it possible to tell when a pointer is hovering inside the boundary of a map and when the pointer is moved outside of the map Thanks Tweet Accepted Answer By Russell de Grove Thursday August 27 2015 05 20 PM permalink 0 At the very start of your handler if map rimMap getMapExtents contains pt mouseHover text return The reply is currently minimized Show Responses 0 Likes Highest Vote Latest Oldest There are no replies here yet Your Reply Please login to post a reply You will need to be logged in to be able to post a reply Login using the form on the right or register an account if you

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/mouse-hover-event/likes (2016-04-26)
    Open archived version from archive


  • Tuning the data load times from SQL server (localDb) - MapDotNet
    OUTER REFERENCES mydatabase dbo Links GeometryItem 6782 49 0 0 00859115 4043 4 29921 mydatabase dbo Links Distance mydatabase dbo Links Lux Expr1003 PLAN ROW 0 1 Compute Scalar DEFINE Expr1003 mydatabase dbo Links GeometryItem STAsBinary 0 1 0 Compute Scalar Compute Scalar DEFINE Expr1003 mydatabase dbo Links GeometryItem STAsBinary Expr1003 mydatabase dbo Links GeometryItem STAsBinary 2055 3 0 0 00020553 8069 4 28593 mydatabase dbo Links Distance mydatabase dbo Links Lux mydatabase dbo Links GeometryItem Expr1003 PLAN ROW 0 1 Nested Loops Inner Join OUTER REFERENCES mydatabase sys extended index 885578193 384000 pk0 Expr1025 WITH UNORDERED PREFETCH 0 2 1 Nested Loops Inner Join OUTER REFERENCES mydatabase sys extended index 885578193 384000 pk0 Expr1025 WITH UNORDERED PREFETCH 2055 3 0 0 00859115 4043 4 28573 mydatabase dbo Links Distance mydatabase dbo Links Lux mydatabase dbo Links GeometryItem PLAN ROW 0 1 Hash Match Aggregate HASH mydatabase sys extended index 885578193 384000 pk0 0 4 2 Hash Match Aggregate HASH mydatabase sys extended index 885578193 384000 pk0 187 186 0 0 115804 11 0 579868 mydatabase sys extended index 885578193 384000 pk0 PLAN ROW 0 1 Nested Loops Inner Join OUTER REFERENCES Expr1017 Expr1018 Expr1024 WITH UNORDERED PREFETCH 0 5 4 Nested Loops Inner Join OUTER REFERENCES Expr1017 Expr1018 Expr1024 WITH UNORDERED PREFETCH 20553 0 0 0859115 11 0 464064 mydatabase sys extended index 885578193 384000 pk0 PLAN ROW 0 1 Hash Match Aggregate HASH Expr1017 Expr1018 RESIDUAL Expr1017 Expr1017 AND Expr1018 Expr1018 0 7 5 Hash Match Aggregate HASH Expr1017 Expr1018 RESIDUAL Expr1017 Expr1017 AND Expr1018 Expr1018 109 8 0 0 0533398 17 0 179242 Expr1017 Expr1018 PLAN ROW 0 1 Nested Loops Inner Join OUTER REFERENCES Cell Id Cell Attributes 0 8 7 Nested Loops Inner Join OUTER REFERENCES Cell Id Cell Attributes 5000 0 0 0209 17 0 125902 Expr1017 Expr1018 PLAN ROW 0 1 Table valued function 0 9 8 Table valued function Table valued function 1000 0 0 100002 14 0 100002 Cell Id Cell Attributes PLAN ROW 0 1 Constant Scan VALUES Cell Id getdescendantlimitforspatialbinary Cell Id Cell Id Cell Id getancestorforspatialbinary Cell Id 1 getancestorforspatialbinary Cell Id 1 getancestorforspatialbinary Cell Id 2 getancestorforspatialbinary Cell Id 2 getancestorforspatialbinary Cell Id 3 getancestorforspatialbinary Cell Id 3 0 22 8 Constant Scan Constant Scan VALUES Cell Id getdescendantlimitforspatialbinary Cell Id Cell Id Cell Id getancestorforspatialbinary Cell Id 1 getancestorforspatialbinary Cell Id 1 getancestorforspatialbinary Cell Id 2 getancestorforspatialbinary Cell Id 2 getancestorforspatialbinary Cell Id 3 getancestorforspatialbinary Cell Id 3 5 0 5 157E 006 17 0 00500016 Expr1017 Expr1018 PLAN ROW 0 1000 Clustered Index Seek OBJECT mydatabase sys extended index 885578193 384000 Links GeometryItem sidx SEEK mydatabase sys extended index 885578193 384000 Cell Id Expr1017 AND mydatabase sys extended index 885578193 384000 Cell Id Expr1018 ORDERED FORWARD 0 34 5 Clustered Index Seek Clustered Index Seek OBJECT mydatabase sys extended index 885578193 384000 Links GeometryItem sidx SEEK mydatabase sys extended index 885578193 384000 Cell Id Expr1017 AND mydatabase sys extended index 885578193 384000 Cell Id Expr1018

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/tuning-the-data-load-times-from-sql-server-localdb (2016-04-26)
    Open archived version from archive

  • Example of how to create an installer for a MapDotNet WPF application? - MapDotNet
    run our MDN installer The reply is currently minimized Show Accepted Answer Registered By Erik R Nielsen Friday May 23 2014 11 05 AM permalink 0 I should have said that I ve already have set the Proj LIB to point to a proj4 folder installed by me on the machine that doesn t work I ve noticed that MapDotNet 9 3 ships with just the 64 bit version of proj dll I have to compile my project to 32 bit because of some other dependencies On my dev machine this doesn t seem to be a problem but on a Windows Server 2012 it is Regarding the application settings to be aware of PROJ LIB is one but also it would be great to see the MapDotNet specific settings that could affect the installer and how to set them up in an installer if applicable Best regards Erik The reply is currently minimized Show Accepted Answer By Russell de Grove Friday May 23 2014 01 06 PM permalink 0 Please look in C Program Files MapDotNet 9 3 or wherever you installed 9 3 ReferencedDLLs Unmanaged 32Bit to find the 32 bit proj DLL The reply is currently minimized Show Accepted Answer By Russell de Grove Friday May 23 2014 01 56 PM permalink 0 Also I ll have the guy that builds our installers give you a list of the dependencies we check for but I don t expect him to get to that before Tuesday The reply is currently minimized Show Accepted Answer By Benton Belcher Tuesday May 27 2014 01 25 PM permalink 0 Hi Erik I actually manage the installer builds The proj dependencies that Russell mentioned are the only requirements The install packages I build does check for NET 4 5 and automatically installs it if not present Benton The reply is currently minimized Show Accepted Answer Registered By Erik R Nielsen Thursday June 05 2014 12 36 PM permalink 0 Ok I think my problem relates to Windows Server 2012 and the way it is locked down to not accepting mixed 32 and 64 bit applications I might return here later with a solution if I ever find it The reply is currently minimized Show Accepted Answer By Russell de Grove Thursday June 05 2014 01 55 PM permalink 0 Is this a web project and if so have you tried making everything that is not Net 32 bit compliling Net for any CPU and setting Enable 32 Bit Applications to true for the application pool The reply is currently minimized Show Accepted Answer Registered By Erik R Nielsen Thursday June 05 2014 03 03 PM permalink 0 No it is not a web project it is a standalone application using the engine ISC RIM WPF If I compile with the Any CPU it doesn t work with PROJ dll on Windows Server 2012 I think I need to be more scientific about this and setup a test matrix of what works and

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/example-of-how-to-create-an-installer-for-a-mapdotnet-wpf-application (2016-04-26)
    Open archived version from archive

  • How do I clear a file cache in WPF? - MapDotNet
    and force the map to refresh It seems to work pretty randomly depending on which layer are switched on or off and what layers have previously been loaded Is there a sure fire way to force a file cache to reload on all zoom levels public void RefreshLayers object sender RoutedEventArgs e Sometimes Layer may not be ready by now if Layers null return foreach var lyr in Layers lyr LayerState Layer LayerStates Modified mainMap MapModel FlushPyramids MDNSTileLayer NotifyRequestorDataSourceChange MDNSTileLayer NotifyDescriptorChange and the setup of the TileRequestor rim TileLayer TileRequestor RIMServicesBridge MDNSDirectMapTileRequestor BleedRatio 1 2 MapCacheOption ReadWrite UseQuadKeyForMapCacheName True rim TileLayer TileRequestor Tweet Accepted Answer By Russell de Grove Friday June 20 2014 01 15 PM permalink 1 None of those will do it You must actually delete the cache i e delete all folders in the root cache folder If the changes are limited to a small area you could determine the quad level at which all changes would be on a single tile find the corresponding folder in the tree and delete that The reply is currently minimized Show Responses 0 Likes Highest Vote Latest Oldest There are no replies here yet Your Reply Please login to post

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/how-do-i-clear-a-file-cache-in-wpf (2016-04-26)
    Open archived version from archive

  • Is it possible to get a copyright statement from Bing Maps through MapDotNet Engine? - MapDotNet
    information that I need to display for Bing maps Is there a way the get this in MapDotNet and where would I find the information For example C Here 2015 C Microsoft Corporation when doing roads or C Earthstar oi C Microsoft Corporation when doing aerial imagery Best regards Erik Tweet Accepted Answer By Russell de Grove Wednesday July 29 2015 06 00 PM permalink 0 No but you can use the following links to do so switch Road Aerial AerialWithLabels to get attributions for the imagery http dev virtualearth net REST v1 Imagery Metadata Road 0 0 zoomLevel 1 key YOUR BING KEY include ImageryProviders Note that this can return multiple attributions with different bounding boxes and zoom levels The reply is currently minimized Show Responses 1 Likes Highest Vote Latest Oldest Accepted Answer Registered By Erik R Nielsen Friday July 31 2015 09 58 AM permalink 0 Thanks for that I was going to do a similar thing using the WPF BingMap Control but hadn t actually spotted this way of doing it Cheers Erik The reply is currently minimized Show Your Reply Please login to post a reply You will need to be logged in to be

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/is-it-possible-to-get-a-copyright-statement-from-bing-maps-through-mapdotnet-engine/likes (2016-04-26)
    Open archived version from archive

  • How can I set pin point color dynamic from database table? - MapDotNet
    5 255 188 26 mdnTileLayer notifyDescriptorChange The reply is currently minimized Show Accepted Answer By Russell de Grove Wednesday July 08 2015 01 13 PM permalink 0 You are making all the layers not visible also better you notify after all changes Try success function data for var i 0 i data length i if data i wo data i wop mdnDescriptor setLayerFill data i 0 5 255 188 26 mdnDescriptor setLayerVisibility data i false else mdnDescriptor setLayerVisibility data i true mdnTileLayer notifyDescriptorChange The reply is currently minimized Show Accepted Answer Registered By Tushar Wednesday July 08 2015 03 25 PM permalink 0 Hi Russell I have tried with this way as well but still not working I think something still missing Thanks The reply is currently minimized Show Accepted Answer By Russell de Grove Wednesday July 08 2015 05 04 PM permalink 0 Try replacing 0 5 with 128 All color values including alpha should be bytes The following is from http mapsjs com docs index htm isc rim tile descriptorMDNRestMap setLayerFill layerId a r g b Set layer fill by layer id and fill color as an ARGB value Parameters layerId the layer Id to affect style a alpha byte r red byte g green byte b blue byte The reply is currently minimized Show Accepted Answer Registered By Tushar Thursday July 09 2015 11 55 AM permalink 0 Hi Russell Thanks for your reply It is worked but not the same opacity that with I have saved How can I get the same opacity can I set opacity in integer Also not worked with the pins it is only worked with the polygons How can I achieve this as I achieve with silverlight pins as below I need same with HTML5 mapReq Map Layers lyr DefaultClassificationStyle PointSymbol SymbolXAML UpdateLayerColor strPinXaml FF20E915 layer LayerState Layer LayerStates Modified The reply is currently minimized Show Accepted Answer By Russell de Grove Thursday July 09 2015 02 37 PM permalink 0 Using SetLayerFill the only brushes that will be updated in the XAML are Fill brushes that are of type SolidColorBrush The reply is currently minimized Show Accepted Answer By Russell de Grove Thursday July 09 2015 02 38 PM permalink 0 If opacity is a float or double between 0 and 1 multiply by 255 and convert to integer The reply is currently minimized Show Accepted Answer Registered By Tushar Thursday July 09 2015 03 10 PM permalink 0 Hi Russell Thanks for your valuable reply I want pin color change in html5 isc rim tile descriptorMDNRestMap setLayerFill layerId a r g b With this is this possible I have tried but pins are not showing only polygon colors changed Thanks The reply is currently minimized Show Accepted Answer By Russell de Grove Thursday July 09 2015 05 26 PM permalink 0 They should but you need to dig into the XAML the only things that will be replaced are Fills that are assigned instances of SolidColorBrush If that s

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/how-can-i-set-pin-point-color-dynamic-from-database-table/likes (2016-04-26)
    Open archived version from archive



  •