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

overlapping tilesources #48

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

overlapping tilesources #48

michaeltyson opened this issue Oct 24, 2010 · 13 comments
Labels

Comments

@michaeltyson
Copy link
Member

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
Copy link
Contributor

amjaliks commented Mar 5, 2011

I am going to add this feature.

@japan2011
Copy link

Waiting for this feature.

@incanus
Copy link
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
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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

@shaviraghu
Copy link

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
Copy link

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
Copy link

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
Copy link

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
Copy link

dovy commented Jul 23, 2013

And I? Dovy@simplerain.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants