1
임 내 머리는 내가 기본지도 위에 추가 할 투명 타일 타일 소스를 하는 방법 (경로-나
을 arround를 얻을 수없는 무언가 고민에 공개 투명 레이어를 만들 수 있습니다 streetmap)하지만 작동하지 않습니다.// setup a base map
baseMapView = [[RMMapView alloc]initWithFrame: CGRectMake(0, 0, self.view.frame.size.width - self.view.frame.origin.x, self.view.frame.size.height - self.view.frame.origin.y) ];
[baseMapView setBackgroundColor:[UIColor blackColor]];
[baseMapView setDelegate:self];
[baseMapView setDeceleration:YES];
[[baseMapView contents] setTileSource:[[[RMOpenStreetMapSource alloc] init] autorelease]];
[self.view addSubview: baseMapView];
// markings in transparent png
markerMapView = [[RMMapView alloc]initWithFrame: CGRectMake(0, 0, self.view.frame.size.width - self.view.frame.origin.x, self.view.frame.size.height - self.view.frame.origin.y) ];
[markerMapView setBackgroundColor:[UIColor redColor]];
[markerMapView setAlpha: 0.5];
[markerMapView setOpaque:NO];
[markerMapView setDelegate:self];
[markerMapView setDeceleration:YES];
LLOpenSeaMapSource *tileSource = [[LLOpenSeaMapSource alloc] init];
tileSource.baseURL = @"http://tiles.luky.nl/mark";
[[markerMapView contents] setTileSource: tileSource];
[self.view addSubview: markerMapView];
이미지는 투명 png 타일입니다. 내가 예상대로 결과는 그러나되지 않습니다 : 당겨 일부 머리, 나는 clearColor 빨간색하지의 배경을 설정하여 시작 후 내가 게시 된 조각이라고
참고하지만, 당신이 볼 수있는 어쨌든 회색 - (
나는이 문제를 해결하기 위해 노력할 것이지만 다음 릴리스에 대한 귀하의 제안을 살펴볼 것입니다. 마커가 작동하지 않을 것입니다. 나는 두 곳의지도를 부과해야합니다. – CocoaChris