Revision 115 org.gvsig.googlemaps/trunk/org.gvsig.googlemaps/org.gvsig.googlemaps.app/org.gvsig.googlemaps.app.mainplugin/src/main/java/org/gvsig/googlemaps/app/mainplugin/GoogleMapsServiceFactory.java
GoogleMapsServiceFactory.java | ||
---|---|---|
22 | 22 |
*/ |
23 | 23 |
package org.gvsig.googlemaps.app.mainplugin; |
24 | 24 |
|
25 |
import org.gvsig.webmap.lib.api.AbstractWebMapServiceFactory; |
|
25 | 26 |
import org.gvsig.webmap.lib.api.WebMapService; |
26 | 27 |
import org.gvsig.webmap.lib.api.WebMapServiceFactory; |
27 | 28 |
|
... | ... | |
30 | 31 |
* @author daniel |
31 | 32 |
* |
32 | 33 |
*/ |
33 |
public class GoogleMapsServiceFactory implements WebMapServiceFactory{
|
|
34 |
public class GoogleMapsServiceFactory extends AbstractWebMapServiceFactory{
|
|
34 | 35 |
private static final String NAME="DefaultGoogleMapsServiceFactory"; |
35 | 36 |
@Override |
36 | 37 |
public String getName() { |
... | ... | |
42 | 43 |
return new GoogleMapsService(); |
43 | 44 |
} |
44 | 45 |
|
46 |
@Override |
|
47 |
public int getPriority() { |
|
48 |
return 5; |
|
49 |
} |
|
45 | 50 |
} |
Also available in: Unified diff