JavaScript
  Home arrow JavaScript arrow Creating Click Loggers and Basic Markers w...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Creating Click Loggers and Basic Markers with Yahoo! Maps
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-04-22

    Table of Contents:
  • Creating Click Loggers and Basic Markers with Yahoo! Maps
  • Review: adding zoom and pan control to a single Yahoo! Map
  • Building a click logger within a map’s area
  • Adding basic markers on the fly

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Creating Click Loggers and Basic Markers with Yahoo! Maps


    (Page 1 of 4 )

    This is the fourth part of the series “Working with Yahoo! Maps.” If you’re a web developer who’s interested in learning the key concepts surrounding the utilization of Yahoo! Maps within the context of your web applications, then this article series might be for you. In it you’ll find comprehensive examples that will let you put this useful Ajax framework to work for you in a very short time.

    The race between large web search companies, like Google and Yahoo!, that aim to provide both web surfers and developers with robust geographical mapping applications still has a long way to go. Meanwhile, you can spend your time learning the basics of how to work with Yahoo! Maps' Ajax framework, which incorporates numerous features into your web sites and keeps visitors coming back for more.

    Now that I've introduced you to the main subject of this series, I’m going to spend a few moments reviewing the topics that were discussed in the last tutorial. This way you’ll have a much better idea of how the contents deployed in that specific article are related to what I plan to teach you in this fourth chapter of the series.

    Having said that, you’ll certainly remember that in the previous article I showed you how to use the handy “addPanControl()” method, which belongs to the “YMap” JavaScript class, to construct several Yahoo! Maps that featured an effective panoramic control comprised of four tiny arrows. The reason for incorporating this pan control into the map was to provide it with the capacity to scroll all over a predefined geographical location by clicking on these small arrows.

    In addition to showing you how to construct a Yahoo! map that displays the pan control, I coded an illustrative example that combined the functionality of the panoramic mechanism with the short zoom control that you learned in previous tutorials.

    So far, so good. Hopefully by now, all these helpful features offered by the Yahoo! Map framework are familiar to you. So it’s time to talk about the topics that I’m going to discuss in the next few lines. I’m going to show you how to develop a simple application that allows you to intercept all the mouse clicks that have occurred in a selected map. And then, based on this click detection mechanism, I’ll teach you how to add some basic markers as the map in question is being clicked on. Quite interesting, right?

    Let’s continue exploring the details of how this powerful Yahoo! Map Ajax framework works. Let’s start this journey now!

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this fourth article of the series, you’ll learn in detail how to include some...
     

    JAVASCRIPT ARTICLES

    - Building Dynamic Shadows with JavaScript and...
    - Active Client Pages: Chrys`s Approach
    - The Script Approach to Active Client Pages: ...
    - Principles of Active Client Pages: the Scrip...
    - Active Client Pages: the Script Approach
    - Building an RTF-capable Form with the Ext JS...
    - Creating a Multi-Tabbed Online Form with the...
    - jQuery Overview
    - Constructing a Multi-Column Online Form with...
    - Grouping Field Sets on Dynamic Web Forms wit...
    - Building Dynamic Web Forms with the Ext JS F...
    - More on JavaScript Array Objects
    - Methods of the DOM Location Object
    - The DOM Location Object Properties
    - Handling Remote Files with JavaScript Click ...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT