Re: GMap2 (wicket-contrib-gmap2) and autozoom with getBoundsZoomLevel
With we, I meant my colleagues and me. And for us, I think it's enough to calculate a ZoomLevel passed to the map, that all GLatLngs given are visible on this map. So yes it's more like the link you posted Martin. Regards, norman Martin Funk-3 wrote: normanr wrote: Not right now Martin, but i think that we'll need to do it. But I can't promise ;( who is it that you mean by 'we'? I've been rolling the thoughts about a possible implementation in my head this afternoon, but didn't get to a reasonable answer yet. I might not have understood the use case yet. Implementing the methods 'getBoundsZoomLevel(bounds) extend(point)' in a way that the server could ask for their execution, while being in a request/response cycle, and also receive their outcome might be not so easy to implement nor to use. If the use is closer to what is described in http://econym.googlepages.com/basic14.htm it might be easier. Here the server would be enabled to place a call to the map which re zooms and slips it, so that some given points would show up. Later on it would be informed about the border and the zoomlevel of the map. I think that's easier to implement. mf Btw.: I can't promis anything either ;-) Martin Funk-3 wrote: Don't know what bit me there, I have to apologize. You don't happen to have any ideas molded in code on that, do you? mf normanr wrote: http://wicketstuff.org/jira/browse/WSGMAPP-7 says implemented in Rev 3416. But I don't find anything like that, neither in the HEAD nor the comment for REV 3416. Is it gone or has it never been in svn? Martin Funk-3 wrote: Hi Marko, 2008/2/3, Marko Taipale [EMAIL PROTECTED]: Hi, I am about to do a feature to my wicket app containing gmap. There are several markers on the map and the map will autozoom center according to those marker positions. Now I am wondering if there is upcoming support for getBoundsZoomLevel(bounds) extend(point)* ? There shure is. It already has its own feature request. http://wicketstuff.org/jira/browse/WSGMAPP-7 Back to serious: I think its a reasonable request, but I can't tell you when it'll be implemented. If you can come up with some code you feel confident with you are welcome to attach ist to the Issue. Or, if you are really confident about your code ask for commit access to wicket-stuff. Thnx, Martin Or has anybody already written an app with such a feature / component and could even pass the code - I'm feeling lazy ;). Thanks, - Marko *see http://code.google.com/apis/maps/documentation/reference.html#GMap2and example at http://econym.googlepages.com/basic14.htm -- View this message in context: http://www.nabble.com/GMap2-%28wicket-contrib-gmap2%29-and-autozoom-with-getBoundsZoomLevel-tp15252786p15252786.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/GMap2-%28wicket-contrib-gmap2%29-and-autozoom-with-getBoundsZoomLevel-tp15252786p19410438.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Gmap2 not visible
It's me again ;) I was trying to figure out why starting wicket in deployment mode solved the problem. I thought i've made a bookmark of the page i've read something about that, but i did not. And now i'm googling around but do not find it again. So would somebody of you be so kind and tell me the reason? Thanks so much! normanr wrote: Yeah! Thanks i've read something like that, but my mind plays so many tricks on me at the moment :D Thanks so much! francisco treacy-2 wrote: try firing your app in DEPLOYMENT mode francisco On Fri, Sep 5, 2008 at 6:01 PM, normanr [EMAIL PROTECTED] wrote: Hi there, i'm having a problem with wicket-contrib-gmap2. I compiled the examples and everything worked fine. Then i wrote my own app just for testing but when i'm looking at the page i only see the 'powered by Google' Logo and the Copyright Notice but no map. Here's my Code: final GMap2 map = new GMap2(contentLocationGMap, GoogleMapsAPIKey); add(map); and here the HTML: div wicket:id=contentLocationGMap style=margin-left: auto; margin-right: auto; width: 600px; height: 400px;GoogleMap/div Had anybody have this problem too? Thanks for the answers ;) Regards, norman -- View this message in context: http://www.nabble.com/Gmap2-not-visible-tp19334325p19334325.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Gmap2-not-visible-tp19334325p19389431.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: GMap2 (wicket-contrib-gmap2) and autozoom with getBoundsZoomLevel
http://wicketstuff.org/jira/browse/WSGMAPP-7 says implemented in Rev 3416. But I don't find anything like that, neither in the HEAD nor the comment for REV 3416. Is it gone or has it never been in svn? Martin Funk-3 wrote: Hi Marko, 2008/2/3, Marko Taipale [EMAIL PROTECTED]: Hi, I am about to do a feature to my wicket app containing gmap. There are several markers on the map and the map will autozoom center according to those marker positions. Now I am wondering if there is upcoming support for getBoundsZoomLevel(bounds) extend(point)* ? There shure is. It already has its own feature request. http://wicketstuff.org/jira/browse/WSGMAPP-7 Back to serious: I think its a reasonable request, but I can't tell you when it'll be implemented. If you can come up with some code you feel confident with you are welcome to attach ist to the Issue. Or, if you are really confident about your code ask for commit access to wicket-stuff. Thnx, Martin Or has anybody already written an app with such a feature / component and could even pass the code - I'm feeling lazy ;). Thanks, - Marko *see http://code.google.com/apis/maps/documentation/reference.html#GMap2and example at http://econym.googlepages.com/basic14.htm -- View this message in context: http://www.nabble.com/GMap2-%28wicket-contrib-gmap2%29-and-autozoom-with-getBoundsZoomLevel-tp15252786p15252786.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/GMap2-%28wicket-contrib-gmap2%29-and-autozoom-with-getBoundsZoomLevel-tp15252786p19392798.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: GMap2 (wicket-contrib-gmap2) and autozoom with getBoundsZoomLevel
Not right now Martin, but i think that we'll need to do it. But I can't promise ;( Martin Funk-3 wrote: Don't know what bit me there, I have to apologize. You don't happen to have any ideas molded in code on that, do you? mf normanr wrote: http://wicketstuff.org/jira/browse/WSGMAPP-7 says implemented in Rev 3416. But I don't find anything like that, neither in the HEAD nor the comment for REV 3416. Is it gone or has it never been in svn? Martin Funk-3 wrote: Hi Marko, 2008/2/3, Marko Taipale [EMAIL PROTECTED]: Hi, I am about to do a feature to my wicket app containing gmap. There are several markers on the map and the map will autozoom center according to those marker positions. Now I am wondering if there is upcoming support for getBoundsZoomLevel(bounds) extend(point)* ? There shure is. It already has its own feature request. http://wicketstuff.org/jira/browse/WSGMAPP-7 Back to serious: I think its a reasonable request, but I can't tell you when it'll be implemented. If you can come up with some code you feel confident with you are welcome to attach ist to the Issue. Or, if you are really confident about your code ask for commit access to wicket-stuff. Thnx, Martin Or has anybody already written an app with such a feature / component and could even pass the code - I'm feeling lazy ;). Thanks, - Marko *see http://code.google.com/apis/maps/documentation/reference.html#GMap2and example at http://econym.googlepages.com/basic14.htm -- View this message in context: http://www.nabble.com/GMap2-%28wicket-contrib-gmap2%29-and-autozoom-with-getBoundsZoomLevel-tp15252786p15252786.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/GMap2-%28wicket-contrib-gmap2%29-and-autozoom-with-getBoundsZoomLevel-tp15252786p19395666.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Gmap2 not visible
Hi there, i'm having a problem with wicket-contrib-gmap2. I compiled the examples and everything worked fine. Then i wrote my own app just for testing but when i'm looking at the page i only see the 'powered by Google' Logo and the Copyright Notice but no map. Here's my Code: final GMap2 map = new GMap2(contentLocationGMap, GoogleMapsAPIKey); add(map); and here the HTML: div wicket:id=contentLocationGMap style=margin-left: auto; margin-right: auto; width: 600px; height: 400px;GoogleMap/div Had anybody have this problem too? Thanks for the answers ;) Regards, norman -- View this message in context: http://www.nabble.com/Gmap2-not-visible-tp19334325p19334325.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Gmap2 not visible
Yeah! Thanks i've read something like that, but my mind plays so many tricks on me at the moment :D Thanks so much! francisco treacy-2 wrote: try firing your app in DEPLOYMENT mode francisco On Fri, Sep 5, 2008 at 6:01 PM, normanr [EMAIL PROTECTED] wrote: Hi there, i'm having a problem with wicket-contrib-gmap2. I compiled the examples and everything worked fine. Then i wrote my own app just for testing but when i'm looking at the page i only see the 'powered by Google' Logo and the Copyright Notice but no map. Here's my Code: final GMap2 map = new GMap2(contentLocationGMap, GoogleMapsAPIKey); add(map); and here the HTML: div wicket:id=contentLocationGMap style=margin-left: auto; margin-right: auto; width: 600px; height: 400px;GoogleMap/div Had anybody have this problem too? Thanks for the answers ;) Regards, norman -- View this message in context: http://www.nabble.com/Gmap2-not-visible-tp19334325p19334325.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Gmap2-not-visible-tp19334325p19335676.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]