Hi all, I am using mapstraction in a project (a GPL theme/plugin for WordPress that allows people to easily create maps and add content to it) and I need to make some changes to mapstraction OpenLayer API and Google v3 (the 2 that Im using). Maybe what Im doing is of interest and I could contribute. Here is what Im doing: OpenLayers . implement method OpenBubble() . add option to the marker so you can choose the background color and opacity of the bubble Google v3 Today mapstraction is using Google''s InfoWindow class to create Bubbles. There is a new class called InfoBox[1] that provides more options, such as style the box. My suggestion is to use InfoBox instead and add the same options I want to add to OpenLayers, so you can set the color of the bubble. What do you think of that? [1] http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobox/docs/reference.html Curiosity 1: You can have a look at the theme here: http://mapasdevista.hacklab.com.br/ (work in progress) Curiosity 2: We wanted to let the user create a map using any image as background. So we created another provider for mapstraction called ''image'', which is just an image and markers over it, withiout geo information, just x and y positions. You can have a look at the result here http://mapasdevista.hacklab.com.br/uma-imagem-como-mapa/ (work in progress) cheers Leo,, -- leogermani.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20110810/b04551f5/attachment.htm>
Hi Leo, great work, please submit the pull request on github I love the ''image'' provider I hope to see more of your contributions in the future. Ed 2011/8/10 Leo germani <leogermani at gmail.com>:> Hi all, > > I am using mapstraction in a project (a GPL theme/plugin for WordPress that > allows people to easily create maps and add content to it) and I need to > make some changes to mapstraction OpenLayer API and Google v3 (the 2 that Im > using). Maybe what Im doing is of interest and I could contribute. > > Here is what Im doing: > > OpenLayers > . implement method OpenBubble() > . add option to the marker so you can choose the background color and > opacity of the bubble > > Google v3 > Today mapstraction is using Google''s InfoWindow class to create Bubbles. > There is a new class called InfoBox[1] that provides more options, such as > style the box. My suggestion is to use InfoBox instead and add the same > options I want to add to OpenLayers, so you can set the color of the bubble. > > What do you think of that? > > [1] > http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobox/docs/reference.html > > Curiosity 1: You can have a look at the theme here: > http://mapasdevista.hacklab.com.br/ (work in progress) > > Curiosity 2: We wanted to let the user create a map using any image as > background. So we created another provider for mapstraction called ''image'', > which is just an image and markers over it, withiout geo information, just x > and y positions. You can have a look at the result here > http://mapasdevista.hacklab.com.br/uma-imagem-como-mapa/ (work in progress) > > cheers > > Leo,, > > -- > leogermani.com.br > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >
I''ve got a pull request in for openlayers info bubbles (and a few others): https://github.com/mapstraction/mxn/pull/70. Hopefully we can coordinate a good generic solution. On the Google v3 proposals: I think there should be a way to make use of 3rd party utility libraries like InfoBox, but by default Mapstraction should work loading the Google v3 API alone. cheers, -dylan- On Wed, Aug 10, 2011 at 6:55 AM, Ed Freyfogle <edf at sloan.mit.edu> wrote:> Hi Leo, > > great work, please submit the pull request on github > I love the ''image'' provider > > I hope to see more of your contributions in the future. > > Ed > > > 2011/8/10 Leo germani <leogermani at gmail.com>: > > Hi all, > > > > I am using mapstraction in a project (a GPL theme/plugin for WordPress > that > > allows people to easily create maps and add content to it) and I need to > > make some changes to mapstraction OpenLayer API and Google v3 (the 2 that > Im > > using). Maybe what Im doing is of interest and I could contribute. > > > > Here is what Im doing: > > > > OpenLayers > > . implement method OpenBubble() > > . add option to the marker so you can choose the background color and > > opacity of the bubble > > > > Google v3 > > Today mapstraction is using Google''s InfoWindow class to create Bubbles. > > There is a new class called InfoBox[1] that provides more options, such > as > > style the box. My suggestion is to use InfoBox instead and add the same > > options I want to add to OpenLayers, so you can set the color of the > bubble. > > > > What do you think of that? > > > > [1] > > > http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobox/docs/reference.html > > > > Curiosity 1: You can have a look at the theme here: > > http://mapasdevista.hacklab.com.br/ (work in progress) > > > > Curiosity 2: We wanted to let the user create a map using any image as > > background. So we created another provider for mapstraction called > ''image'', > > which is just an image and markers over it, withiout geo information, > just x > > and y positions. You can have a look at the result here > > http://mapasdevista.hacklab.com.br/uma-imagem-como-mapa/ (work in > progress) > > > > cheers > > > > Leo,, > > > > -- > > leogermani.com.br > > > > _______________________________________________ > > Mapstraction mailing list > > Mapstraction at lists.mapstraction.com > > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > > > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20110810/5c051433/attachment.htm>
Thanks Ed, Dylan, your pull request is very similar to what Ive done. I think Im gonna use yours to avoid conflict. But I see its been there for a while. Who can give a feedback on your patch and accept it? On the google v3 proposal, you are right, it should be optional. Leo,, On Wed, Aug 10, 2011 at 11:34 AM, Dylan Kuhn <dylan.k.kuhn at gmail.com> wrote:> I''ve got a pull request in for openlayers info bubbles (and a few others): > https://github.com/mapstraction/mxn/pull/70. Hopefully we can coordinate a > good generic solution. > > On the Google v3 proposals: I think there should be a way to make use of > 3rd party utility libraries like InfoBox, but by default Mapstraction should > work loading the Google v3 API alone. > > cheers, > -dylan- > > On Wed, Aug 10, 2011 at 6:55 AM, Ed Freyfogle <edf at sloan.mit.edu> wrote: > >> Hi Leo, >> >> great work, please submit the pull request on github >> I love the ''image'' provider >> >> I hope to see more of your contributions in the future. >> >> Ed >> >> >> 2011/8/10 Leo germani <leogermani at gmail.com>: >> > Hi all, >> > >> > I am using mapstraction in a project (a GPL theme/plugin for WordPress >> that >> > allows people to easily create maps and add content to it) and I need to >> > make some changes to mapstraction OpenLayer API and Google v3 (the 2 >> that Im >> > using). Maybe what Im doing is of interest and I could contribute. >> > >> > Here is what Im doing: >> > >> > OpenLayers >> > . implement method OpenBubble() >> > . add option to the marker so you can choose the background color and >> > opacity of the bubble >> > >> > Google v3 >> > Today mapstraction is using Google''s InfoWindow class to create Bubbles. >> > There is a new class called InfoBox[1] that provides more options, such >> as >> > style the box. My suggestion is to use InfoBox instead and add the same >> > options I want to add to OpenLayers, so you can set the color of the >> bubble. >> > >> > What do you think of that? >> > >> > [1] >> > >> http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobox/docs/reference.html >> > >> > Curiosity 1: You can have a look at the theme here: >> > http://mapasdevista.hacklab.com.br/ (work in progress) >> > >> > Curiosity 2: We wanted to let the user create a map using any image as >> > background. So we created another provider for mapstraction called >> ''image'', >> > which is just an image and markers over it, withiout geo information, >> just x >> > and y positions. You can have a look at the result here >> > http://mapasdevista.hacklab.com.br/uma-imagem-como-mapa/ (work in >> progress) >> > >> > cheers >> > >> > Leo,, >> > >> > -- >> > leogermani.com.br >> > >> > _______________________________________________ >> > Mapstraction mailing list >> > Mapstraction at lists.mapstraction.com >> > >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> > >> > >> _______________________________________________ >> Mapstraction mailing list >> Mapstraction at lists.mapstraction.com >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> > > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >-- leogermani.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20110810/44303641/attachment-0001.htm>
Just realized that the OpenLayers.Popup.FramedCloud that Dylan used does not support background color change. Maybe we give the user the ability to use one of several bubble options... On Wed, Aug 10, 2011 at 12:12 PM, Leo germani <leogermani at gmail.com> wrote:> Thanks Ed, > > Dylan, your pull request is very similar to what Ive done. I think Im gonna > use yours to avoid conflict. But I see its been there for a while. Who can > give a feedback on your patch and accept it? > > On the google v3 proposal, you are right, it should be optional. > > Leo,, > > > On Wed, Aug 10, 2011 at 11:34 AM, Dylan Kuhn <dylan.k.kuhn at gmail.com>wrote: > >> I''ve got a pull request in for openlayers info bubbles (and a few >> others): https://github.com/mapstraction/mxn/pull/70. Hopefully we can >> coordinate a good generic solution. >> >> On the Google v3 proposals: I think there should be a way to make use of >> 3rd party utility libraries like InfoBox, but by default Mapstraction should >> work loading the Google v3 API alone. >> >> cheers, >> -dylan- >> >> On Wed, Aug 10, 2011 at 6:55 AM, Ed Freyfogle <edf at sloan.mit.edu> wrote: >> >>> Hi Leo, >>> >>> great work, please submit the pull request on github >>> I love the ''image'' provider >>> >>> I hope to see more of your contributions in the future. >>> >>> Ed >>> >>> >>> 2011/8/10 Leo germani <leogermani at gmail.com>: >>> > Hi all, >>> > >>> > I am using mapstraction in a project (a GPL theme/plugin for WordPress >>> that >>> > allows people to easily create maps and add content to it) and I need >>> to >>> > make some changes to mapstraction OpenLayer API and Google v3 (the 2 >>> that Im >>> > using). Maybe what Im doing is of interest and I could contribute. >>> > >>> > Here is what Im doing: >>> > >>> > OpenLayers >>> > . implement method OpenBubble() >>> > . add option to the marker so you can choose the background color and >>> > opacity of the bubble >>> > >>> > Google v3 >>> > Today mapstraction is using Google''s InfoWindow class to create >>> Bubbles. >>> > There is a new class called InfoBox[1] that provides more options, such >>> as >>> > style the box. My suggestion is to use InfoBox instead and add the same >>> > options I want to add to OpenLayers, so you can set the color of the >>> bubble. >>> > >>> > What do you think of that? >>> > >>> > [1] >>> > >>> http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobox/docs/reference.html >>> > >>> > Curiosity 1: You can have a look at the theme here: >>> > http://mapasdevista.hacklab.com.br/ (work in progress) >>> > >>> > Curiosity 2: We wanted to let the user create a map using any image as >>> > background. So we created another provider for mapstraction called >>> ''image'', >>> > which is just an image and markers over it, withiout geo information, >>> just x >>> > and y positions. You can have a look at the result here >>> > http://mapasdevista.hacklab.com.br/uma-imagem-como-mapa/ (work in >>> progress) >>> > >>> > cheers >>> > >>> > Leo,, >>> > >>> > -- >>> > leogermani.com.br >>> > >>> > _______________________________________________ >>> > Mapstraction mailing list >>> > Mapstraction at lists.mapstraction.com >>> > >>> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >>> > >>> > >>> _______________________________________________ >>> Mapstraction mailing list >>> Mapstraction at lists.mapstraction.com >>> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >>> >> >> >> _______________________________________________ >> Mapstraction mailing list >> Mapstraction at lists.mapstraction.com >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >> >> > > > -- > leogermani.com.br >-- leogermani.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20110810/9c6f5386/attachment.htm>