This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation { | |
static NSString *identifier = @"PPSpot"; | |
if ([annotation isKindOfClass:[PPSpot class]]) { | |
PPAnnotationView *annotationView = (PPAnnotationView *) [mapView dequeueReusableAnnotationViewWithIdentifier:identifier]; | |
annotationView = [[PPAnnotationView alloc] initWithAnnotation:annotation reuseIdentifier:identifier]; | |
annotationView.parent = self; | |
NSString *text = @""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Weather extends Common | |
{ | |
function __construct() | |
{ | |
} | |
public function deviceHistoryAggregate($deviceId,$type,$time=null){ | |
NewerOlder