Opened 11 years ago
Closed 10 years ago
#14187 closed defect (invalid)
Google Map API is somehow broken
Reported by: | Ming Zhe Huang | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | Loader | Version: | 1.7.0 |
Keywords: | Cc: | zhangyp | |
Blocked By: | Blocking: |
Description
Weird problem, and it seems that dojo module loader might be the most suspicious component. Please try the attached test case.
- If Google map API is directly invoked, you'll find that actually the map is rendered but the API cannot pull in subsequent images.
- If we wrap Google map API in a class declared by dojo, then everything works fine. [Note] Try to switch the logic in renderGoogleMap() function.
It could be due to scope problem. Just my guess, because the two ways of rendering Google Map API share almost the same execution path.
Attachments (1)
Change History (4)
Changed 11 years ago by
comment:1 Changed 11 years ago by
Status: | new → assigned |
---|
comment:2 Changed 11 years ago by
Milestone: | tbd → 1.8 |
---|
comment:3 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
You spelled mapTypeId wrong (your code has it as mapType) in mapOptions in renderGoogleMap(). Fixing this, everything works.
Note: See
TracTickets for help on using
tickets.
test case