Title

Kodyaz Development Resources

Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Vista, etc.
Welcome to Kodyaz Development Resources Sign in | Join | Help
in Search

BalloonState tooltips for Pushpins placed on Microsoft MapPoint maps developed by SDK

Last post 03-11-2006, 6:28 AM by eralper. 1 replies.
Sort Posts: Previous Next
  •  07-15-2005, 8:13 PM 260

    BalloonState tooltips for Pushpins placed on Microsoft MapPoint maps developed by SDK

     Hi,

    I'm developing a map application using Microsoft MapPoint and Visual Basic.NET

    I installed MapPoint .NET Basic Services SDK (English) Version 3.5 and it works fine.

    But I also want to show tooltips on pushpins placed on the map. As I experienced, there is not a tooltip property for web applications for Pushpin object.

    As I read, we can get this functionality easily with the use of new BalloonState property of the Pushpin object.

    But the BalloonState property can be used only with Microsoft MapPoint North America 2004 SDK

    You can reference to  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoint2004/BIZOMNewMethods.asp for more information.


    I have two questions, is there a download link for Microsoft MapPoint North America 2004 SDK?

    Second question, does anyone has solved the problem about showing tooltips for Pushpins placed on Microsoft MapPoint maps?

    Thanks...

  •  08-02-2005, 5:09 AM 273 in reply to 260

    Re: BalloonState tooltips for Pushpins placed on Microsoft MapPoint maps developed by SDK

     Hi,

    You can use HTML Image Maps in order to get a similar functionality with BalloonState on the rendered map images.

    HTML Image Maps are used for an image in the HTML source code as an "usemap" attribute.

    HTML Image Maps are defined with <map> tag which includes <area> tags

    You can calculate each area in an MapPoint Map Image and create a <map> in order to use with that rendered MapPoint Map Image

    Check http://www.elated.com/tutorials/authoring/html/imagemaps/ for more information on HTML Image Maps

    <img src="/images/articles/0042/MapPointSampleImage.jpg" width="202 "height="194" border="0" usemap="#pins">

    <map name="pins"><area ...><area ...></maps>

    You can define hyperlinks for parts of MapPoint image and title for tooltip like functionality.

    <map name="map name">

    <area shape="area shape"
     coords="area coordinates"
     href="hyperlink for a pushpin in your MapPoint Map Image" or nohref
     target="hyperlink target"
     title="tooltip">

    <area shape="area shape..."

    </map>

View as RSS news feed in XML
Copyright © 2004 - 2008 Eralper Yilmaz. All rights reserved.
Powered by Community Server, by Telligent Systems