Web.Maps.VE v3.1 Released with Support for Bing Maps Keys and Draggable Pushpins

by Chris Pietschmann 24. July 2010 10:31

Today, we are happy to announce that we have released the v3.1 update release to the Web.Maps.VE control. This update adds a couple of highly requested features to the control, as listed below.

Download: Web.Maps.VE v3 Free Edition

The new features are:

  •  Updated to support Bing Maps v6.3 Ajax Control.
  • Bing Maps Key support added via the new Map.BingKey property.
  • Added Map.CustomMapScript property to allow developers to override the Bing Maps Ajax Control JavaScript file, and allows the use of a custom script file within the page, instead. For advanced users only.
  • Added Client-Side JavaScript API support to the control for the new "Search" and "Geocode" methods that were added to the Bing Maps v6.3 update.

More Infomation

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Web.Maps.VE v3.0

Enter by July 3rd for a Chance to Win a FREE Web.Maps.VE License

by Chris Pietschmann 28. June 2010 14:57

Contest is closed and winners haved been notified.

I have decided to give away FREE licenses to Web.Maps.VE in celebration of releasing Web.Maps.VE v3.0 almost a year ago, and launching the Web.Maps.VE v1.0 product almost 3 years ago!!

Ways to enter contest:

  • Follow @simplovation on Twitter
  • Post a Comment to this blog post, but be sure to enter your email address.

Then on the morning of Saturday, July 3rd I will choose 10 people to award a FREE Web.Maps.VE v3.0 Single Developer License. Plus, if there are a fairly large number of Followers and/or Comments, I will give away more the 10 licenses.

Disclaimer: The winners will be chosen at random, by a Simplovation representative (most likely me), and entering the contest does not guarantee you'll win. Any additional prizes, other than the 10 promised, will be given out at the discretion of Simplovation. Also, Simplovation retains the right to cancel the contest at its own discretion for any reason.

--
Chris Pietschmann
Owner, Simplovation LLC

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Web.Maps.VE v3.0

Web.Maps.VE 3.0 Price Reduction to $99 from $139

by Chris Pietschmann 4. May 2010 11:01

Today, we have reduced the price of the Web.Maps.VE v3.0 Single Developer License to $99 from its previous price of $139. Additionally, we have also reduce the price of the Web.Maps.VE v1.0 Single Website License to $49 from its previous price of $99.

Purchase Web.Maps.VE v3.0 for $99!

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Web.Maps.VE v1.0 | Web.Maps.VE v3.0

Use AddCustomLayer with Web.Maps.VE v3.0 To Add "Custom" Pushpins

by Chris Pietschmann 16. October 2009 06:55

The "VEMap.AddCustomLayer" method in the Bing Maps JavaScript Map Control can be used to add a DIV element to the Map, and have that same DIV element scroll/pan around the Map automatically. Even though Web.Maps.VE doesn't support using the "AddCustomLayer" method from within server-side code, you can still use a little bit of JavaScript on your page to hook into Web.Maps.VE to add any Custom Layers you need.

I've had a few requests for sample code on how to use the "VEMap.AddCustomLayer" method with Web.Maps.VE, so here's a full example that adds a custom layer, and a couple "custom" pushpins. Just copy the below code into an ".aspx" page and hit Run.

<asp:ScriptManager runat="server" ID="sm"></asp:ScriptManager>

<Simplovation:Map runat="server" ID="Map1" OnClientMapLoaded="Map1_ClientMapLoaded" Width="800"></Simplovation:Map>

<div id="myCustomLayer"></div>

<script type="text/javascript">
    var myCustomLayer = null;
    var customPoints = []; // same as "new Array()"

    var previousZoom = null;

    var pinImage = 'http://dev.virtualearth.net/mapcontrol/v6.2/i/bin/6.2.2008082210001.41/pins/poi_usergenerated.gif';
    var pinXOffset = -25 / 2; //width of pushpin image divided by 2
    var pinYOffset = -30;     //height of pushpin image since we want bottom point of image to point to LatLong
   
    // The "OnClientMapLoaded" Event is fired when the Map is finished loading on the page
    function Map1_ClientMapLoaded(sender) {
        // sender = The Client-Side Web.Maps.VE object that raised the event

        // Add some custom pushpin points to the custom layer
        customPoints.push(sender.GetCenter());
        customPoints.push(new VELatLong(47.6357835908649, -122.376708984375)); // Seattle
        customPoints.push(new VELatLong(51.5087424588033, -0.175781249999995)); // London

        RenderCustomPoints();

        // Attach Event Handler to Redraw Custom Points when needed
        sender.AttachEvent("onviewchange", Map1_RedrawEventHandler);
        sender.AttachEvent("onendzoom", Map1_RedrawEventHandler);
        sender.AttachEvent("onobliquechange", Map1_RedrawEventHandler);
    }

    function Map1_RedrawEventHandler(sender, e) {
        var currentZoom = $find("<%=Map1.ClientID %>").GetZoomLevel();
        if (e.eventName !== "onviewchange" || previousZoom != currentZoom) {
            previousZoom = currentZoom;
                           
            RenderCustomPoints();
        }
    }

    function RenderCustomPoints() {
        InitializeCustomLayer();
       
        var map = $find("<%=Map1.ClientID %>"); // Get reference to the Web.Maps.VE Client-Side Object
        var s = []; // same as "new Array()"
        var pixel;

        // Loop through all custom points and create IMG tags
        for (var i = 0; i < customPoints.length; i++) {
            // Figure out the Pixel coordinate that matches the custom point lat/long
            pixel = map.LatLongToPixel(customPoints[i]);
            // create the IMG tag
            s.push("<img src='" + pinImage + "' style='position:absolute; left: " + (pixel.x + pinXOffset) + "px; top: " + (pixel.y + pinYOffset) + "px;' />");
        }
       
        // Add all the IMG tags to the Custom Layer DIV
        myCustomLayer.innerHTML = s.join('');
    }

    function InitializeCustomLayer() {
        if (myCustomLayer === null) {
            // Add Custom Layer to Map
            myCustomLayer = document.createElement("div");
            myCustomLayer.style.position = "absolute";
            myCustomLayer.style.top = "0px";
            myCustomLayer.style.left = "0px";
            myCustomLayer.style.zIndex = 1000;

            $find("<%=Map1.ClientID %>").AddCustomLayer(myCustomLayer);
        }
    }
</script>

Conclusion

This is yet again one of the many ways that you can use JavaScript to enhance the already powerful Web.Maps.VE control to customize it to fit the exact needs of your application.

If you have any questions about using Web.Maps.VE, please post them to the Support Forums.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Tutorials | Web.Maps.VE v3.0

Web.Maps.VE v3.0 Released!

by Chris Pietschmann 26. August 2009 18:46

Today we are proud to announce that we have just released Web.Maps.VE v3.0!

Download FREE Edition!

One of the most notable things about this new version release is that it's completely FREE to use for Non-Commercial purposes.

There are a few new things in this latest release, but the most significant are the following performance updates:

  • Microsoft CDN (Content Delivery Network) Support Added. This helps improve the Bing Maps content delivery speed by up to 82%
  • JavaScript Performance Optimizations. All the JavaScript code internally within the control has been optimized to increase the overall speed of the Web.Maps.VE Map controls functionality.


Check out the following link to see what has all been included in this release:
https://simplovation.com/page/webmapsve30/roadmap.aspx

Also, this new version release is a completely FREE upgrade to all existing customers who have already purchased Web.Maps.VE v2.0. If you have previously purchased v2.0, then there is nothing required to obtain your v3.0 license other than going to the "My Licenses" page to download the DLL and License Activation File. If for some reason you have trouble obtaining your Free Upgrade to v3.0, please let us know and we'll get it activated as soon as possible.

Thank you for your continued support in Web.Maps.VE and Simplovation!

Chris Pietschmann
Owner, Simplovation LLC
Microsoft MVP - Windows Live Platform
http://simplovation.com
http://pietschsoft.com

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Support | Web.Maps.VE v3.0


Simplovation Web.Maps.VE - Mapping Simplified - ASP.NET AJAX Bing Maps Server Control

Ads

Powered by BlogEngine.NET 1.4.5.0