overlapping tilesources #48

Open
michaeltyson opened this Issue Oct 24, 2010 · 13 comments

Comments

Projects
None yet
9 participants
@michaeltyson
Member

michaeltyson commented Oct 24, 2010

I want to have two tilesources displayed at the same time on top of each other. I guess I want
RMMapContents to have a addTileSource, not setTileSource.

@amjaliks

This comment has been minimized.

Show comment Hide comment
@amjaliks

amjaliks Mar 5, 2011

Contributor

I am going to add this feature.

Contributor

amjaliks commented Mar 5, 2011

I am going to add this feature.

@japan2011

This comment has been minimized.

Show comment Hide comment
@japan2011

japan2011 Apr 19, 2011

Waiting for this feature.

Waiting for this feature.

@incanus

This comment has been minimized.

Show comment Hide comment
@incanus

incanus Apr 19, 2011

Contributor

I am hoping to tackle something like this before too long, compositing tile layers in order as necessary. Currently, I've got a workaround solution that is much higher overhead by layering RMMapViews, passing touches through the top ones, juggling the overlay layer to the top-most one, and making pans & zooms to the bottom one pan & zoom the upper ones. Compositing images would be a much better approach here.

Contributor

incanus commented Apr 19, 2011

I am hoping to tackle something like this before too long, compositing tile layers in order as necessary. Currently, I've got a workaround solution that is much higher overhead by layering RMMapViews, passing touches through the top ones, juggling the overlay layer to the top-most one, and making pans & zooms to the bottom one pan & zoom the upper ones. Compositing images would be a much better approach here.

@nyarlatoteph

This comment has been minimized.

Show comment Hide comment
@nyarlatoteph

nyarlatoteph Oct 27, 2011

I've made a TileImageWithOverlay class that extends RMTileImage and takes 2 URL sources, one for the base and one for the (semitransparent) overlay. It then uses 2 WebTileImages to take care of the loading etc, and once it's loaded, it blends the 2 images into one and returns it.

I'd attach the sources to this comment if I knew how, but there doesn't seem to be an option for it. So if anyone is interested, contact me.

I've made a TileImageWithOverlay class that extends RMTileImage and takes 2 URL sources, one for the base and one for the (semitransparent) overlay. It then uses 2 WebTileImages to take care of the loading etc, and once it's loaded, it blends the 2 images into one and returns it.

I'd attach the sources to this comment if I knew how, but there doesn't seem to be an option for it. So if anyone is interested, contact me.

@shaviraghu

This comment has been minimized.

Show comment Hide comment
@shaviraghu

shaviraghu Dec 12, 2011

nyarlatoteph : i am using route-me for my project and have a requirement to overlap maps. can u send me the code for this.
my mail id:shaviraghu@gmail.com.

thank you

nyarlatoteph : i am using route-me for my project and have a requirement to overlap maps. can u send me the code for this.
my mail id:shaviraghu@gmail.com.

thank you

@nyarlatoteph

This comment has been minimized.

Show comment Hide comment
@nyarlatoteph

nyarlatoteph Dec 19, 2011

Hello shaviraghu

I've attached a zip file containing the source code for the tiles+overlay,
hope its useful to you.

Good luck

Rudi

2011/12/12 shaviraghu <
reply@reply.github.com

nyarlatoteph : i am using route-me for my project and have a requirement
to overlap maps. can u send me the code for this.
my mail id:shaviraghu@gmail.com.

thank you


Reply to this email directly or view it on GitHub:
#48 (comment)


Rudi Alberda Knowlogy
rudi.alberda@knowlogy.nl Zuiderkerkstraat 10-1, 9712 PZ Groningen

Tel. +31 6 44168743 www.knowlogy.nl

Hello shaviraghu

I've attached a zip file containing the source code for the tiles+overlay,
hope its useful to you.

Good luck

Rudi

2011/12/12 shaviraghu <
reply@reply.github.com

nyarlatoteph : i am using route-me for my project and have a requirement
to overlap maps. can u send me the code for this.
my mail id:shaviraghu@gmail.com.

thank you


Reply to this email directly or view it on GitHub:
#48 (comment)


Rudi Alberda Knowlogy
rudi.alberda@knowlogy.nl Zuiderkerkstraat 10-1, 9712 PZ Groningen

Tel. +31 6 44168743 www.knowlogy.nl

@cellininicholas

This comment has been minimized.

Show comment Hide comment
@cellininicholas

cellininicholas Jan 15, 2012

Hey nyarlatoteph,
I'm also using route-me for my project and I need to overlay 1 web map source over another. It sounds like your code might be quite useful, could you send it to me?

My email is cellininicholas@gmail.com

Thanks

Hey nyarlatoteph,
I'm also using route-me for my project and I need to overlay 1 web map source over another. It sounds like your code might be quite useful, could you send it to me?

My email is cellininicholas@gmail.com

Thanks

@cellininicholas

This comment has been minimized.

Show comment Hide comment
@cellininicholas

cellininicholas Jan 16, 2012

Does anyone else have the code? I'd really appreciate it ASAP.
Thanks

Does anyone else have the code? I'd really appreciate it ASAP.
Thanks

@shaviraghu

This comment has been minimized.

Show comment Hide comment
@shaviraghu

shaviraghu Jan 23, 2012

Dear Rudi,
As you can see there is no attached zip file with this. Can you please resend me with attached zip file.

Thanking you.

with regards,
Raghu
On 19.12.2011, at 14:26, Rudi Alberda wrote:

Hello shaviraghu

I've attached a zip file containing the source code for the tiles+overlay,
hope its useful to you.

Good luck

Rudi

2011/12/12 shaviraghu <
reply@reply.github.com

nyarlatoteph : i am using route-me for my project and have a requirement
to overlap maps. can u send me the code for this.
my mail id:shaviraghu@gmail.com.

thank you


Reply to this email directly or view it on GitHub:
#48 (comment)


Rudi Alberda Knowlogy
rudi.alberda@knowlogy.nl Zuiderkerkstraat 10-1, 9712 PZ Groningen

Tel. +31 6 44168743 www.knowlogy.nl


Reply to this email directly or view it on GitHub:
#48 (comment)

Dear Rudi,
As you can see there is no attached zip file with this. Can you please resend me with attached zip file.

Thanking you.

with regards,
Raghu
On 19.12.2011, at 14:26, Rudi Alberda wrote:

Hello shaviraghu

I've attached a zip file containing the source code for the tiles+overlay,
hope its useful to you.

Good luck

Rudi

2011/12/12 shaviraghu <
reply@reply.github.com

nyarlatoteph : i am using route-me for my project and have a requirement
to overlap maps. can u send me the code for this.
my mail id:shaviraghu@gmail.com.

thank you


Reply to this email directly or view it on GitHub:
#48 (comment)


Rudi Alberda Knowlogy
rudi.alberda@knowlogy.nl Zuiderkerkstraat 10-1, 9712 PZ Groningen

Tel. +31 6 44168743 www.knowlogy.nl


Reply to this email directly or view it on GitHub:
#48 (comment)

@shaviraghu

This comment has been minimized.

Show comment Hide comment
@shaviraghu

shaviraghu Jan 23, 2012

Hi Nyarlatoteph and cellininicholas,
I cant find the attached zip file. If you have got the source zip file please send it to me.

My email is shaviraghu@gmail.com

thank u

Hi Nyarlatoteph and cellininicholas,
I cant find the attached zip file. If you have got the source zip file please send it to me.

My email is shaviraghu@gmail.com

thank u

@cellininicholas

This comment has been minimized.

Show comment Hide comment
@cellininicholas

cellininicholas Feb 15, 2012

Thanks for the TileImageWithOverlay class BTW.

One recommendation:
You should add the custom method:

  • (void)connection:(NSURLConnection *)_connection didFailWithError:(NSError *)error
    to your WebTileImageClass

When it calls the RMWebTileImage method, unusual static tiles can be presented instead of retrying or failing when the download doesn't complete.
This was an issue that I ran into, just thought I would mention it.

Thanks for the TileImageWithOverlay class BTW.

One recommendation:
You should add the custom method:

  • (void)connection:(NSURLConnection *)_connection didFailWithError:(NSError *)error
    to your WebTileImageClass

When it calls the RMWebTileImage method, unusual static tiles can be presented instead of retrying or failing when the download doesn't complete.
This was an issue that I ran into, just thought I would mention it.

@mita99

This comment has been minimized.

Show comment Hide comment
@mita99

mita99 May 21, 2012

Hi nyarlatoteph,
I need to overlay 1 web map source over another. Could you send it to me?

My email is mita99@gmail.com

Thanks

mita99 commented May 21, 2012

Hi nyarlatoteph,
I need to overlay 1 web map source over another. Could you send it to me?

My email is mita99@gmail.com

Thanks

@dovy

This comment has been minimized.

Show comment Hide comment
@dovy

dovy Jul 23, 2013

@incanus incanus referenced this issue in cutting-room-floor/ipad-deprecated Apr 27, 2012

Closed

look into tile layer compositing #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment