Feb 18, 2009
Tweaked Some Mapstraction Functions
There’s nothing quite like teaching to help you figure out what you don’t know. I’ve been detailing the basics of mapping–plotting markers and adding click-able message boxes. Through the process, I’ve discovered a few holes in Mapstraction‘s coverage of common API features.
For example, there was no method to programmatically close a marker’s message box. You can open it with openBubble, but closeBubble didn’t exist.
Similarly, panning to a new center point, a feature in most mapping providers, was absent in Mapstraction. It’s a nice-to-have, but it sure is less jarring when switching to a point near your current view.
I was faced with the possibility of either leaving them completely out of the book, or implementing them in provider-specific code. Neither seemed like a good solution. So, I set the book to the side and decided to implement them myself.
I’ve been a programmer for well over a decade and I’ve taken advantage of many an open source project. Never before had I contributed code to one. Lucky for me, there is a loyal group of Mapstraction contributors willing to help out a newbie. My “patches” (calling them such is kind, since I merely pasted code into the discussion list) were quickly accepted and are now part of the code repository. Sweet!
Now it’s back to writing. Chapter three is days away from being complete!
beautify@inglorious.types” rel=”nofollow”>.…
ñïñ çà èíôó!!…
roomy@glycosides.viennas” rel=”nofollow”>.…
ñýíêñ çà èíôó….
simmonsville@undivided.individualizing” rel=”nofollow”>.…
thanks….
neurologist@pout.motif” rel=”nofollow”>.…
ñïñ!!…
jurists@ologies.instrumentals” rel=”nofollow”>.…
good info….
deaf@evinced.packers” rel=”nofollow”>.…
ñïñ!…
captivated@arboreal.berea” rel=”nofollow”>.…
thank you!…
boniface@passer.alla” rel=”nofollow”>.…
thank you….
fathuh@civilizing.hostler” rel=”nofollow”>.…
ñïñ çà èíôó!…
merry@matheson.deserved” rel=”nofollow”>.…
áëàãîäàðþ!…
misplacements@burlingtons.serious” rel=”nofollow”>.…
áëàãîäàðþ….
horn@carefulness.peroxide” rel=”nofollow”>.…
ñïñ….
vitals@develops.theologys” rel=”nofollow”>.…
good….
tum@marcius.friends” rel=”nofollow”>.…
áëàãîäàðåí!…
forgeries@distributors.summed” rel=”nofollow”>.…
ñïñ çà èíôó!!…
cyclorama@alexs.translates” rel=”nofollow”>.…
ñïñ….
scapegoats@interior.nieces” rel=”nofollow”>.…
ñïñ çà èíôó!!…