Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
jQuery jOVI
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Massimiliano Marcon
November 29, 2011
Programming
1
190
jQuery jOVI
A jQuery plugin on top of the Nokia Maps API
Massimiliano Marcon
November 29, 2011
Tweet
Share
More Decks by Massimiliano Marcon
See All by Massimiliano Marcon
So you wanna make a jQuery plugin… jHERE deconstructed.
mmarcon
0
700
How late is later? A lazy loading solution on the edge between very clever and incredibly mad.
mmarcon
36
6.1k
Soundscape
mmarcon
2
110
Other Decks in Programming
See All in Programming
Unity6.3 AudioUpdate
cova8bitdots
0
110
TipKitTips
ktcryomm
0
150
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
200
Rails Girls Tokyo 18th GMO Pepabo Sponsor Talk
yutokyokutyo
0
200
株式会社 Sun terras カンパニーデック
sunterras
0
2k
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
650
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
370
AHC061解説
shun_pi
0
330
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
15
7.9k
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
590
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
930
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
220
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
140
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
68
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
96
Unsuck your backbone
ammeep
672
58k
WENDY [Excerpt]
tessaabrams
9
36k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
GraphQLとの向き合い方2022年版
quramy
50
14k
Docker and Python
trallard
47
3.8k
Typedesign – Prime Four
hannesfritz
42
3k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Transcript
A jQuery plugin on top of Nokia Maps API https://github.com/mmarcon/jOVI
Massimiliano Marcon @mmarcon
None
Open source jQuery plugin
Wraps Nokia Maps API
Helps to easily embed a Nokia map in a web
page
Essentially for fun…
Nokia Maps API has LOTS of features and great OO
implementation
The API is overwhelming for the average web developer
The documentation is not user friendly
jQuery is a de facto standard when it comes to
build modern, interactive websites
Why would I write something like this: var mapElement, map,
components = [], where = [29.187778, -82.130556] components.push(new ovi.mapsapi.map.component.ZoomBar()); mapElement = document.getElementById("map"); map = new ovi.mapsapi.map.Display(mapElement, { zoomLevel: 10, center: where, components: components });
When I can do this instead: $(‘#map’).jOVI({ zoom: 10, center:
[29.187778, -82.130556], zoomBar: true });
Instantiate jOVI //appID and authToken are obtained //from NOKIA Developer
website $(‘#map’).jOVI (options, appID, authToken); Call a jOVI method (jQuery UI-like syntax) $(‘#map’).jOVI (“methodName”, param1, param2);
Currently supports: ! Map creation on a certain location !
Map type setting (map, satellite, terrain) ! Markers with events ! InfoBubble containing string or more complex jQuery object
Exposes only a subset of the functionalities implemented in Maps.
Requires jQuery, which means more bytes over the wire.
• Integration with routing • Geo-shapes • Maps event handling
• Optimization • Integration into frameworks for mobile, e.g. jQuery-Mobile
https://github.com/mmarcon/jOVI