Skip to content

Commit

Permalink
Added more tests and fixed bug in jHERE('bubble')
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarcon committed Feb 13, 2013
1 parent 8f8fb66 commit a11a670
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/jhere.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jhere.jquery.json
Expand Up @@ -9,7 +9,7 @@
"heatmaps",
"kml"
],
"version": "0.5.0",
"version": "0.5.1",
"author": {
"name": "Massimiliano Marcon",
"url": "http://marcon.me",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jHERE",
"version": "0.5.0",
"version": "0.5.1",
"description": "Maps made simple.",
"main": "index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/jhere.js
Expand Up @@ -402,7 +402,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
}
bubbleComponent = map.getComponentById('InfoBubbles') ||
map.addComponent(new _ns_map.component.InfoBubbles());
bubbleComponent.openBubble(bubbleOptions.content, {latitude: position[0], longitude: position[1]}, bubbleOptions.onclose, !bubbleOptions.closable);
bubbleComponent.openBubble(bubbleOptions.content, {latitude: position.latitude || position[0], longitude: position.longitude || position[1]}, bubbleOptions.onclose, !bubbleOptions.closable);
};

//### Remove all the bubbles from the map
Expand Down

0 comments on commit a11a670

Please sign in to comment.