Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New functionality and some fixes for GMap3 #194

Merged
merged 1 commit into from
Feb 2, 2013
Merged

New functionality and some fixes for GMap3 #194

merged 1 commit into from
Feb 2, 2013

Conversation

thyzzv
Copy link
Contributor

@thyzzv thyzzv commented Jan 31, 2013

  • Fixed Simple Ajax example
  • Fixed parsing of large latlon coordinates
  • Added option to use a Wicket component as content for a GInfoWindow.java (See AdvancedInfoWindowGMapApplication)

* Fixed parsing of large latlon coordinates
* Added option to use a Wicket component as content for a GInfoWindow.java (See AdvancedInfoWindowGMapApplication)
response.render(JavaScriptHeaderItem.forReference(WicketGMapJsReference.INSTANCE));
response.render(JavaScriptHeaderItem.forUrl(String.format(GMAP_API_URL, schema, sensor)));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this reorder intentional ?
Now GMAP API js will be loaded after Wicket-Gmap. This may break with "gmap object undefined" or something similar.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is intentional, I've been playing around with this for almost 2 weeks, and at some point this was the only thing that always worked. In all combinations with/without loading though wicket-ajax etc.

This is also why I changed wicket-gmap.js.
But I 'll give it another try.

martin-g added a commit that referenced this pull request Feb 2, 2013
New functionality and some fixes for GMap3
@martin-g martin-g merged commit fe9133f into wicketstuff:master Feb 2, 2013
@martin-g
Copy link
Member

martin-g commented Feb 2, 2013

I'm going to release 6.5.0 so I've merged your changes.
You can improve them for the next versions

reckart pushed a commit to reckart/core that referenced this pull request Mar 31, 2024
reckart pushed a commit to reckart/core that referenced this pull request Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants