Home arrow JavaScript arrow Creating Click Loggers and Basic Markers with Yahoo! Maps
JAVASCRIPT

Creating Click Loggers and Basic Markers with Yahoo! Maps


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.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
April 22, 2008
TABLE OF CONTENTS:
  1. · Creating Click Loggers and Basic Markers with Yahoo! Maps
  2. · Review: adding zoom and pan control to a single Yahoo! Map
  3. · Building a click logger within a map’s area
  4. · Adding basic markers on the fly

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Creating Click Loggers and Basic Markers with Yahoo! Maps
(Page 1 of 4 )

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!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 2 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials